<?php

/** @var \Laravel\Lumen\Routing\Router $router */

$router->get('/', function () {
    return "ICE语音";
});

// Admin模块目录
$router->group(['namespace' => 'Admin', 'middleware' => ['cors']], function ($router) {
    /**
     * 不需要登录，无权限控制
     */
    $router->group(['middleware' => ['operation_log']], function ($router) {

        //开放api
        $router->group(['prefix' => 'OpenApi'], function ($router) {
            //查询关联用户信息，根据设备和ip（客户检测系统）
            $router->get('getUnionUsers', 'OpenApiController@getUnionUsers');
            //查询日数据统计
            $router->get('getDayDataStatistics', 'OpenApiController@getDayDataStatistics');
            //获取管理员密码hash
            $router->get('getHash', 'OpenApiController@getHash');
        });

        //管理员登录
        $router->group(['prefix' => 'admin'], function ($router) {
            //获取图形验证码
            $router->post('/login/img', 'AdminController@getDragImg');
            //验证图形验证码
            $router->post('/login/valiimg', 'AdminController@valiImg');
            //获取短信验证码
            $router->post('/login/sms', 'AdminController@sendSms');
            //使用短信验证码登录
            $router->post('/login/code', 'AdminController@smsLogin');
        });

        //获取渠道分期包地址
        $router->get('channel/stage/bag-url', 'Channel\ChannelStageController@getBagUrl');

        //预警系统上线初始化数据接口
        $router->get('test/erm/syncToPublicList', 'Erm\PublicListController@syncToPublicList'); //同步用户到大众名单
        $router->get('test/erm/syncRechargeMoney', 'Erm\PublicListController@syncRechargeMoney'); //同步用户历史充值金额
        $router->get('test/erm/statisticAmount', 'Erm\PublicListController@statisticAmount'); //用户收益、消费统计
    });



    /**
     * 需登录，有权限控制
     */
    $router->group(['middleware' => ['api', 'operation_log']], function ($router) {

        //送礼记录
        $router->group(['prefix' => 'giveGift'], function ($router) {
            $router->get('list', 'GiveGiftController@list'); // 列表
            $router->get('export/excel', 'GiveGiftController@export'); // 导出
            $router->get('gift/type', 'GiveGiftController@getGiftType'); // 获取礼物分类下拉菜单
        });

        //爵位配置管理
        $router->group(['prefix' => 'nobility_config'], function ($router) {
            $router->get('/list', 'NobilityConfigController@nobilityList'); //获取爵位列表
            $router->get('/info', 'NobilityConfigController@nobilityInfo'); //获取爵位详情
            $router->post('/create', 'NobilityConfigController@nobilityAdd'); //添加爵位
            $router->post('/edit', 'NobilityConfigController@nobilityEdit'); //编辑爵位
            $router->post('/delete', 'NobilityConfigController@nobilityDel'); //删除爵位和批量删除爵位
            $router->get('/auth', 'NobilityConfigController@getAuthSelect'); //爵位权限下拉菜单
        });

        $router->group(['prefix' => 'nobility_auth'], function ($router) {
            $router->get('/list', 'NobilityConfigController@nobilityAuthList'); //获取爵位权限列表
            $router->post('/create', 'NobilityConfigController@nobilityAuthAdd'); //添加爵位权限
            $router->post('/edit', 'NobilityConfigController@nobilityAuthEdit'); //编辑爵位权限
            $router->post('/delete', 'NobilityConfigController@nobilityAuthDel'); //删除爵位权限和批量删除爵位权限
        });

        //房间pk
        $router->group(['prefix' => 'room_pk'], function ($router) {
            $router->get('/list', 'RoomPkController@list');
            $router->get('/info', 'RoomPkController@info');
        });

        //支付商户
        $router->group(['prefix' => 'merch'], function ($router) {
            $router->get('/list', 'MerchantController@merchantList');
            $router->post('/create', 'MerchantController@merchantAdd');
            $router->post('/edit', 'MerchantController@merchantSave');
        });
        // 数据
        $router->group(['prefix' => 'data', 'namespace' => 'Data'], function ($router) {
            //概览
            $router->get('summary', 'SummaryController@index');
        });

        //三方接口校验
        $router->group(['prefix' => 'three/check'], function ($router) {
            //后台统计
            $router->get('/stat', 'ThreeCheck\ThreeCheckController@adminStat');
            //日志列表
            $router->get('/record/list', 'ThreeCheck\ThreeCheckController@getRecordLogList');
            // 设置短信开启关闭
            $router->get('/set/close', 'ThreeCheck\ThreeCheckController@setSendMsgIsClose');
            //手动检测
            $router->get('/manual/test', 'ThreeCheck\ThreeCheckController@manualTest');
        });

        //权限模块
        $router->group(['prefix' => 'access', 'namespace' => 'Access'], function ($router) {

            //添加权限
            $router->post('/', 'AccessController@add');
            //编辑权限
            $router->put('/', 'AccessController@edit');
            //删除权限
            $router->delete('/', 'AccessController@del');
            //权限列表
            $router->get('/', 'AccessController@list');

            //路由
            $router->group(['prefix' => 'route'], function ($router) {
                //路由列表
                $router->get('/', 'RouteController@list');
                //新路由列表（未录入数据库）
                $router->get('/new', 'RouteController@newRouteList');
                //新路由录入到数据库
                $router->post('/new-entry', 'RouteController@newRouteEntry');
                //删除路由
                $router->delete('/', 'RouteController@del');
                //获取控制器及对应的路由
                $router->get('/ctr-route', 'RouteController@getControllerWithRoute');
            });

            //菜单
            $router->group(['prefix' => 'menu'], function ($router) {
                //添加菜单
                $router->post('/add', 'MenuController@menuAdd');
                //菜单列表（当前未使用）
                $router->get('/list', 'MenuController@menuList');
                //树状菜单列表（当前在使用）
                $router->get('/tree', 'MenuController@menuTree');
                //编辑菜单
                $router->post('/update', 'MenuController@menuUpdate');
                //删除菜单
                $router->delete('/', 'MenuController@del');
                //获取管理员菜单
                $router->get('/admin-menu', 'MenuController@getAdminMenus');
                //获取所有菜单及权限
                $router->get('/all-menu-access', 'MenuController@getAllMenuWithAccess');
            });

            //角色
            $router->group(['prefix' => 'role'], function ($router) {
                //添加角色
                $router->post('/', 'RoleController@add');
                //获取角色详情
                $router->get('/detail', 'RoleController@detail');
                //编辑角色
                $router->put('/', 'RoleController@edit');
                //获取所有角色（下拉框使用）
                $router->get('/role/all', 'RoleController@getRole');
            });
        });

        //爵位
        $router->group(['prefix' => 'nobility'], function ($router) {
            //获取爵位列表
            $router->post('/list', 'NobilityController@nobilityList');
            //爵位添加
            $router->post('/add', 'NobilityController@nobilityAdd');
            //爵位编辑
            $router->post('/save', 'NobilityController@nobilitySave');
            //爵位删除
            $router->post('/del', 'NobilityController@nobilityDel');
            //爵位详情
            $router->post('/detail', 'NobilityController@detail');
        });

        //礼物类别
        $router->group(['prefix' => 'gift_type'], function ($router) {
            //获取礼物类别列表
            $router->post('/list', 'GiftTypeController@giftTypeList');
            //添加礼物类别
            $router->post('/add', 'GiftTypeController@addGiftType');
            //编辑礼物类别
            $router->post('/save', 'GiftTypeController@saveGiftType');
            //删除礼物类别
            $router->post('/del', 'GiftTypeController@delGiftType');
        });

        //周星礼物管理
        $router->group(['prefix' => 'gift_week'], function ($router) {
            //周星礼物列表
            $router->post('/list', 'GiftWeekController@giftWeekList');
            //新增周星礼物
            $router->post('/add', 'GiftWeekController@addWeekGift');
            //编辑周星礼物
            $router->post('/save', 'GiftWeekController@saveWeekGift');
            //删除周星礼物
            $router->post('/del', 'GiftWeekController@delWeekGift');
            //周星礼物详情
            $router->post('/detail', 'GiftWeekController@giftWeekDetail');
            //获取奖品列表：用于编辑 修改 搜索
            $router->post('/gift_list', 'GiftWeekController@weekGiftList');
        });

        //钓鱼模块
        $router->group(['prefix' => 'fish'], function ($router) {
            //钓鱼本期奖池列表
            $router->post('/this_list', 'FishController@thisPrizeList');
            //钓鱼编辑和添加礼物列表
            $router->post('/fishing_gift_list', 'FishController@fishingGiftList');
            //钓鱼下期奖池列表
            $router->post('/next_list', 'FishController@nextPrizeList');
            //新增钓鱼本期奖池
            $router->post('/add_this_prize', 'FishController@addThisPrize');
            //新增钓鱼下期奖池
            $router->post('/add_next_prize', 'FishController@addNextPrize');
            //编辑钓鱼本期奖池
            $router->post('/save_this_prize', 'FishController@saveThisPrize');
            //编辑钓鱼下期奖池
            $router->post('/save_next_prize', 'FishController@saveNextPrize');
            //删除钓鱼本期奖池
            $router->post('/del_this_prize', 'FishController@delThisPrize');
            //删除钓鱼下期奖池
            $router->post('/del_next_prize', 'FishController@delNextPrize');
            //设置钓鱼独立用户
            $router->post('/set_alone_user', 'FishController@setAloneUser');
            //开启、关闭爆率奖池
            $router->post('/ratio_jackpot', 'FishController@ratioJackpot');
            //一键修改本期礼物列表
            $router->post('/edit_all_list', 'FishController@editAllList');
            //一键修改下期礼物列表
            $router->post('/edit_all_next_list', 'FishController@editAllNextList');
            //一键修改本期礼物
            $router->post('/edit_all_gifts', 'FishController@editAllGifts');
            //一键修改下期礼物
            $router->post('/edit_next_all_gifts', 'FishController@editNextAllGifts');
            //中奖记录列表
            $router->post('/win_gift_list', 'FishController@winGiftList');
            //钓鱼导出中奖记录
            $router->get('/win_gift_export', 'FishController@winGiftExport');
        });

        //新钓鱼模块
        $router->group(['prefix' => 'new_fish'], function ($router) {
            //新钓鱼奖池列表
            $router->post('/new_this_list', 'NewFishController@new_this_list');
            //新增新钓鱼奖池
            $router->post('/add_new_prize', 'NewFishController@addNewPrize');
            //编辑新钓鱼奖池
            $router->post('/save_new_prize', 'NewFishController@saveNewPrize');
            //删除新钓鱼奖池
            $router->post('/del_new_prize', 'NewFishController@delNewPrize');
            //新钓鱼一键修改礼物列表
            $router->post('/edit_new_all_list', 'NewFishController@edit_new_all_list');
            //新钓鱼新增奖池方案
            $router->post('/do_edit_new_all', 'NewFishController@do_edit_new_all');
            //新钓鱼送礼物
            $router->post('/giving_gifts', 'NewFishController@givingGifts');
            //新钓鱼独立奖池用户列表
            $router->post('/indepen_user_prize_list', 'NewFishController@indepen_user_prize_list');
            //新钓鱼中奖纪录列表
            $router->post('/new_win_prize_list', 'NewFishController@new_win_prize_list');
            //新钓鱼导出中奖记录
            $router->get('/new_win_prize_export', 'NewFishController@new_win_prize_export');
            //新钓鱼用户产出日汇总
            $router->post('/user_daily_summary', 'NewFishController@userDailySummary');
            //新钓鱼用户产出总汇总
            $router->post('/total_daily_summary', 'NewFishController@totalDailySummary');
            //新钓鱼奖池产出比总汇总
            $router->post('/pool_total_summary', 'NewFishController@poolTotalSummary');
            //新钓鱼新增独立奖池用户
            $router->post('/add_indepen_user_pool', 'NewFishController@add_indepen_user_pool');
            //新钓鱼删除独立奖池用户
            $router->post('/del_indepen_user_pool', 'NewFishController@del_indepen_user_pool');
        });

        //boss大作战
        $router->group(['prefix' => 'boss'], function ($router) {
            //设置新的boss
            $router->post('/set_boss', 'BossController@setBoss');
            //获取boss详情
            $router->post('/get_boss_detail', 'BossController@getBossDetail');
            //boss获取本期奖池列表
            $router->post('/get_this_prize_list', 'BossController@getThisPrizeList');
            //boss获取下期奖池列表
            $router->post('/get_next_prize_list', 'BossController@getNextPrizeList');
            //boss获取新增、编辑礼物列表
            $router->post('/get_gift_list', 'BossController@getGiftList');
            //boss新增本期奖池礼物
            $router->post('/add_boss_this_gift', 'BossController@add_boss_this_gift');
            //boss新增下期奖池礼物
            $router->post('/add_boss_next_gift', 'BossController@add_boss_next_gift');
            //boss编辑本期奖池礼物
            $router->post('/save_boss_this_gift', 'BossController@save_boss_this_gift');
            //boss编辑下期奖池礼物
            $router->post('/save_boss_next_gift', 'BossController@save_boss_next_gift');
            //boss删除本期奖池礼物
            $router->post('/del_boss_this_gift', 'BossController@del_boss_this_gift');
            //boss删除下期奖池礼物
            $router->post('/del_boss_next_gift', 'BossController@del_boss_next_gift');
            //boss一键修改本期礼物列表
            $router->post('/edit_all_this_list', 'BossController@edit_all_this_list');
            //boss一键修改下期礼物列表
            $router->post('/edit_all_next_list', 'BossController@edit_all_next_list');
            //boss一键修改本期礼物
            $router->post('/do_edit_all_this', 'BossController@do_edit_all_this');
            //boss一键修改下期礼物
            $router->post('/do_edit_all_next', 'BossController@do_edit_all_next');
            //boss设置数量奖池
            $router->post('/boss_this_set_number', 'BossController@boss_this_set_number');
            //boss本期奖池替换
            $router->post('/boss_this_replace', 'BossController@boss_this_replace');
            //概率奖池列表
            $router->post('/get_chance_list', 'BossController@get_chance_list');
            //新增概率奖池礼物
            $router->post('/add_chance_gift', 'BossController@add_chance_gift');
            //编辑概率奖池礼物
            $router->post('/save_chance_gift', 'BossController@save_chance_gift');
            //删除概率奖池礼物
            $router->post('/del_chance_gift', 'BossController@del_chance_gift');
            //开启概率奖池
            $router->post('/open_chance_gift', 'BossController@open_chance_gift');
            //boss大作战中奖记录
            $router->post('/boss_win_gift_list', 'BossController@boss_win_gift_list');
            //boss导出中奖记录
            $router->get('/boss_win_gift_export', 'BossController@boss_win_gift_export');
            //boss血量奖池
            $router->get('/bloodVolumePool', 'BossController@bloodVolumePool');
            //新增boss血量奖池礼物
            $router->post('/bloodVolumePoolGiftAdd', 'BossController@bloodVolumePoolGiftAdd');
            //编辑boss血量奖池礼物
            $router->put('/bloodVolumePoolGiftEdit', 'BossController@bloodVolumePoolGiftEdit');
            //删除boss血量奖池礼物
            $router->delete('/bloodVolumePoolGiftDel', 'BossController@bloodVolumePoolGiftDel');
        });

        //订单管理
        $router->group(['prefix' => 'order'], function ($router) {
            //充值订单列表
            $router->post('/recharge_list', 'OrderController@rechargeList');
            //导出充值订单
            $router->get('/recharge_export', 'OrderController@rechargeExport');
            //充值订单搜索条件列表
            $router->post('/recharge_search_list', 'OrderController@rechargeSearchList');
            //用户充值统计
            $router->post('/user_recharge_total', 'OrderController@userRechargeTotal');
            //获取收款账户
            $router->get('/receive-account', 'OrderController@getReceiveAccount');
            //财务-获取充值退款信息详情
            $router->get('/pay_recharge_refund_detail', 'OrderController@payRechargeRefundDetail');
            //财务-充值退款操作
            $router->post('/pay_recharge_refund', 'OrderController@payRechargeRefund');
        });

        //资质管理
        $router->group(['prefix' => 'lisence'], function ($router) {
            //资质分类列表
            $router->post('/type_list', 'LisenceController@type_list');
            //新增资质分类
            $router->post('/add_type', 'LisenceController@add_type');
            //编辑资质分类
            $router->post('/save_type', 'LisenceController@saveType');
            //删除资质分类
            $router->post('/del_type', 'LisenceController@delType');
            //资质列表
            $router->post('/list', 'LisenceController@list');
            //新增资质
            $router->post('/add_lisence', 'LisenceController@add_lisence');
            //编辑资质
            $router->post('/save_lisence', 'LisenceController@save_lisence');
            //用于新增、编辑的资质分类列表
            $router->post('/operate_list', 'LisenceController@operate_list');
            //删除资质
            $router->post('/del_lisence', 'LisenceController@del_lisence');
            //暂停资质
            $router->post('/suspend', 'LisenceController@suspend');
            //资质审核列表
            $router->post('/lisence_apply_list', 'LisenceController@lisence_apply_list');
            //资质审核详情
            $router->post('/lisence_apply_detail', 'LisenceController@lisence_apply_detail');
            //资质审核不显示列表
            $router->post('/lisence_apply_show_list', 'LisenceController@lisence_apply_show_list');
            //通过不显示的资质审核
            $router->post('/agree_lisence_apply', 'LisenceController@agree_lisence_apply');
            //编辑不显示的资质审核
            $router->post('/save_lisence_apply', 'LisenceController@save_lisence_apply');
            //编辑用户资质最大单价
            $router->post('/save_max_price', 'LisenceController@save_max_price');
            //编辑技术认证
            $router->post('/save_is_verify', 'LisenceController@save_is_verify');
            //资质审核搜索列表
            $router->post('/lisence_apply_search_list', 'LisenceController@lisence_apply_search_list');
            //用户资质列表
            $router->post('/lisence_user_list', 'LisenceController@lisence_user_list');
            //用户资质搜索条件列表
            $router->post('/lisence_user_search_list', 'LisenceController@lisence_user_search_list');
            //资质订单列表
            $router->post('/lisence_order_list', 'LisenceController@lisence_order_list');
            //资质订单搜索列表
            $router->post('/lisence_order_search_list', 'LisenceController@lisence_order_search_list');
            //资质审核结果
            $router->post('/examine_result', 'LisenceController@examine_result');
            //资质标签列表
            $router->post('/lisence_tag_list', 'LisenceController@lisence_tag_list');
            //新增资质分类标签
            $router->post('/add_type_tag', 'LisenceController@add_type_tag');
            //编辑资质分类标签
            $router->post('/save_type_tag', 'LisenceController@save_type_tag');
            //删除资质标签
            $router->post('/del_tag', 'LisenceController@del_tag');
            //新增资质标签
            $router->post('/add_tag', 'LisenceController@add_tag');
            //编辑资质标签
            $router->post('/save_tag', 'LisenceController@save_tag');
            //用于新增、编辑的标签分类列表
            $router->post('/operate_tag_list', 'LisenceController@operate_tag_list');
            //资质订单日志列表
            $router->post('/order_log_list', 'LisenceController@order_log_list');
            //资质订单评论列表
            $router->post('/order_comment_list', 'LisenceController@order_comment_list');
            //某一个订单的评论列表
            $router->post('/one_order_comment_list', 'LisenceController@one_order_comment_list');
            //资质订单退款
            $router->post('/order_refund', 'LisenceController@order_refund');
            //打开已暂停资质
            $router->post('/open_lisence', 'LisenceController@open_lisence');
            //编辑不显示的资质审核数据
            $router->post('/save_lisence_apply_data', 'LisenceController@save_lisence_apply_data');
            //所有用户资质列表
            $router->post('/all_user_lisence_list', 'LisenceController@all_user_lisence_list');
        });

        //ip或地域白名单
        $router->group(['prefix' => 'limit'], function ($router) {
            //开启或者关闭ip限制
            $router->post('/set_switch', 'IpLimitController@setSwitch');
            //获取开关限制状态
            $router->post('/switch_status', 'IpLimitController@switch_status');
            //添加地域黑名单
            $router->post('/region_blacklist', 'IpLimitController@region_blacklist');
            //添加用户白名单
            $router->post('/user_white_list', 'IpLimitController@user_white_list');
            //用户白名单列表
            $router->post('/white_list', 'IpLimitController@white_list');
            //删除用户白名单
            $router->post('/del_user_white', 'IpLimitController@del_user_white');
            //地域黑名单数据
            $router->post('/region_blacklist_data', 'IpLimitController@region_blacklist_data');
            //编辑地域黑名单
            $router->post('/save_region', 'IpLimitController@save_region');
            //登录地域黑名单开关设置
            $router->post('/set_login_switch', 'IpLimitController@set_login_switch');
            //获取限制登录开关设置
            $router->post('/login_switch_status', 'IpLimitController@login_switch_status');
            //添加限制登录地域黑名单
            $router->post('/login_region_blacklist', 'IpLimitController@login_region_blacklist');
            //编辑限制登录地域黑名单
            $router->post('/login_save_region', 'IpLimitController@login_save_region');
            //限制登录地域黑名单数据
            $router->post('/login_region_blacklist_data', 'IpLimitController@login_region_blacklist_data');
            //记录渠道ip
            $router->post('/limit/record_channel_ip', 'IpLimitController@record_channel_ip');
        });

        //游戏
        $router->group(['prefix' => 'game'], function ($router) {
            //新增游戏
            $router->post('/add', 'GameEntranceController@add');
            //获取游戏详情
            $router->post('/detail', 'GameEntranceController@detail');
            //编辑游戏
            $router->post('/save', 'GameEntranceController@save');
            //删除游戏
            $router->post('/del', 'GameEntranceController@del');
            //游戏列表
            $router->post('/list', 'GameEntranceController@list');
        });

        //礼物墙管理
        $router->group(['prefix' => 'giftWall'], function ($router) {
            //礼物墙评分奖励配置详情
            $router->get('/scorePrizeConfigDetail', 'GiftWallController@scorePrizeConfigDetail');
            //礼物墙评分奖励配置保存
            $router->post('/scorePrizeConfigSave', 'GiftWallController@scorePrizeConfigSave');
            //礼物墙评分奖励配置删除
            $router->post('/scorePrizeConfigDelete', 'GiftWallController@scorePrizeConfigDelete');
            //礼物墙评分奖励配置列表
            $router->get('/scorePrizeConfigList', 'GiftWallController@scorePrizeConfigList');
            //礼物兑换配置详情
            $router->get('/exchangeConfigDetail', 'GiftWallController@exchangeConfigDetail');
            //礼物兑换配置保存
            $router->post('/exchangeConfigSave', 'GiftWallController@exchangeConfigSave');
            //礼物兑换配置删除
            $router->post('/exchangeConfigDelete', 'GiftWallController@exchangeConfigDelete');
            //礼物兑换配置列表
            $router->get('/exchangeConfigList', 'GiftWallController@exchangeConfigList');
            //礼物兑换日期设置
            $router->post('/exchangeDateSet', 'GiftWallController@exchangeDateSet');
        });

        //人脉管理
        $router->group(['prefix' => 'connection'], function ($router) {
            //人脉等级保存
            $router->post('/gradeSave', 'ConnectionController@gradeSave');
            //人脉等级详情
            $router->get('/gradeDetail', 'ConnectionController@gradeDetail');
            //人脉等级删除
            $router->post('/gradeDelete', 'ConnectionController@gradeDelete');
            //人脉等级列表
            $router->get('/gradeList', 'ConnectionController@gradeList');

            //人脉阶段保存
            $router->post('/classSave', 'ConnectionController@classSave');
            //人脉阶段详情
            $router->get('/classDetail', 'ConnectionController@classDetail');
            //人脉阶段删除
            $router->post('/classDelete', 'ConnectionController@classDelete');
            //人脉阶段列表
            $router->get('/classList', 'ConnectionController@classList');
            //人脉列表
            $router->get('/userConnectionList', 'ConnectionController@userConnectionList');
        });

        //新版签到配置管理
        $router->group(['prefix' => 'signinnew'], function ($router) {
            $router->get('/list', 'SigninNewController@list');
            $router->post('/save', 'SigninNewController@save');
            $router->get('/edit', 'SigninNewController@edit');
            $router->post('/del', 'SigninNewController@del');
            $router->get('/log', 'SigninNewController@log');
            $router->get('/rewardList', 'SigninNewController@rewardList');
        });

        /*游戏糖果*/
        $router->group(['prefix' => 'game/sugar', 'namespace' => 'Game'], function ($router) {
            $router->get('/list', 'SugarController@info');
            $router->get('/detail', 'SugarController@detail');
            $router->get('/user', 'SugarController@userGameInfo');
            $router->get('/data', 'SugarController@dataList');
            $router->get('/config', 'SugarController@getConfig');
            $router->post('/config', 'SugarController@updateConfig');
        });

        // 区域数据
        $router->group(['prefix' => 'area', 'namespace' => 'Area'], function ($router) {
            $router->group(['prefix' => 'province'], function ($router) {
                // 列表页
                $router->get('/', 'ProvinceController@list');
            });

            $router->group(['prefix' => 'city'], function ($router) {
                // 列表页
                $router->get('get-list-by-province-id', 'CityController@getListByProvinceId');
            });
        });

        // 系统设置
        $router->group(['prefix' => 'system-set', 'namespace' => 'SystemSet'], function ($router) {
            //查看自己信息
            $router->get('/self/info', 'AdminController@selfAdminInfo');
            //修改自己的信息
            $router->put('/self/info', 'AdminController@setSelfInfo');

            //角色管理
            $router->group(['prefix' => 'role'], function ($router) {
                //获得所有角色数组(供下拉框选择)
                $router->get('all', 'RoleController@getAllRoleList');
                //角色列表
                $router->get('/', 'RoleController@roleList');
                //角色删除
                $router->delete('/', 'RoleController@delrole');
            });

            //管理员列表
            $router->group(['prefix' => 'admin'], function ($router) {
                //列表页
                $router->get('/', 'AdminController@adminList');
                //添加管理员
                $router->post('/', 'AdminController@adminAdd');
                //编辑管理员
                $router->put('/', 'AdminController@adminEdit');
                //删除管理员
                $router->delete('/', 'AdminController@adminDelete');
                //管理员操作日志列表
                $router->get('/operation-log', 'AdminController@operationLog');
            });

            // 参数管理
            $router->group(['prefix' => 'params-manager', 'namespace' => 'ParamsManager'], function ($router) {
                // 新增
                $router->post('/', 'ParamsManagerController@create');
                // 删除
                $router->delete('/', 'ParamsManagerController@del');
                // 修改
                $router->put('/', 'ParamsManagerController@update');
                // 配置分组
                $router->get('type/map', 'ParamsManagerController@typeList');
                // 列表页
                $router->get('/', 'ParamsManagerController@list');
                // app版本页
                $router->get('app/version', 'ParamsManagerController@listVersion');

                $router->group(['prefix' => 'global/set'], function ($router) {
                    // 根据group获取数据
                    $router->get('', 'ParamsGlobalSetController@getByGroup');
                    // 编辑数据
                    $router->put('', 'ParamsGlobalSetController@edit');
                });
            });

            // 黑名单相关
            $router->group(['prefix' => 'black-list', 'namespace' => 'BlackList'], function ($router) {
                // 黑名单规则
                $router->group(['prefix' => 'rule'], function ($router) {
                    // 新增
                    $router->post('/', 'BlackListRuleController@create');
                    // 删除
                    $router->delete('/', 'BlackListRuleController@del');
                    // 修改
                    $router->put('/', 'BlackListRuleController@update');
                    // 列表页
                    $router->get('/', 'BlackListRuleController@list');
                });

                // 黑名单模块
                $router->group(['prefix' => 'module'], function ($router) {
                    // 新增
                    $router->post('/', 'BlackListModuleController@create');
                    // 删除
                    $router->delete('/', 'BlackListModuleController@del');
                    // 修改
                    $router->put('/', 'BlackListModuleController@update');
                    // 列表页
                    $router->get('/', 'BlackListModuleController@list');
                });

                // 黑名单用户
                $router->group(['prefix' => 'user'], function ($router) {
                    // 新增
                    $router->post('/', 'BlackListUserController@create');
                    // 删除
                    $router->delete('/', 'BlackListUserController@del');
                    // 修改
                    $router->put('/', 'BlackListUserController@update');
                    // 列表页
                    $router->get('/', 'BlackListUserController@list');
                });
            });

            // 版本相关
            $router->group(['prefix' => 'app-version', 'namespace' => 'AppVersion'], function ($router) {
                // 版本管理
                $router->group(['prefix' => 'management'], function ($router) {
                    // 新增
                    $router->post('/', 'VersionManagementController@create');
                    // 删除
                    $router->delete('/', 'VersionManagementController@del');
                    // 修改
                    $router->put('/', 'VersionManagementController@update');
                    // 列表页
                    $router->get('/', 'VersionManagementController@list');
                    // 文件上传
                    $router->post('/apk/uploadApk', 'VersionManagementController@uploadApk');
                });

                // app设置
                $router->group(['prefix' => 'app-setting'], function ($router) {
                    // 新增
                    $router->post('/', 'AppSettingController@create');
                    // 修改
                    $router->put('/', 'AppSettingController@update');
                    // 列表页
                    $router->get('/', 'AppSettingController@list');
                    // 文件上传
                    $router->post('/apk/uploadApk', 'VersionManagementController@uploadApk');
                });

                // app版本设置
                $router->group(['prefix' => 'version-setting'], function ($router) {
                    // 新增
                    $router->post('/', 'VersionSettingController@create');
                    // 修改
                    $router->put('/', 'VersionSettingController@update');
                    // 列表页
                    $router->get('/', 'VersionSettingController@list');
                    // 删除
                    $router->delete('/', 'VersionSettingController@del');
                });
            });
        });

        // 风控
        $router->group(['prefix' => 'risk', 'namespace' => 'Risk'], function ($router) {
            // 支付宝
            $router->group(['prefix' => 'alipay'], function ($router) {
                // 新增
                $router->post('/', 'AlipayRiskController@create');
                // 删除
                $router->delete('/', 'AlipayRiskController@del');
                // 修改
                $router->put('/', 'AlipayRiskController@update');
                // 列表页
                $router->get('/', 'AlipayRiskController@list');
            });
        });

        // 数据统计
        $router->group(['prefix' => 'census', 'namespace' => 'Census'], function ($router) {
            $router->post('list', 'CensusController@censusList');

            $router->post('data_census', 'CensusController@dataCensus');

            // 所有房间流水
            $router->group(['prefix' => 'room-account-data'], function ($router) {
                $router->get('export/excel', 'RoomAccountDataController@export');
                $router->get('detail', 'RoomAccountDataController@detail');
                $router->get('/', 'RoomAccountDataController@list');
            });
        });

        // 公告
        $router->group(['prefix' => 'notice', 'namespace' => 'Notice'], function ($router) {
            // 发布
            $router->put('release', 'NoticeManagerController@release');
            // 新增
            $router->post('/', 'NoticeManagerController@create');
            // 删除
            $router->delete('/', 'NoticeManagerController@del');
            // 修改
            $router->put('/', 'NoticeManagerController@update');
            // 列表页
            $router->get('/', 'NoticeManagerController@list');
        });

        // 系统消息
        $router->group(['prefix' => 'system-message', 'namespace' => 'SystemMessage'], function ($router) {
            // 发送
            $router->post('/send', 'SystemMessageController@send');
            // 新增
            $router->post('/', 'SystemMessageController@create');
            // 删除
            $router->delete('/', 'SystemMessageController@del');
            // 修改
            $router->put('/', 'SystemMessageController@update');
            // 列表页
            $router->get('/', 'SystemMessageController@list');
            // 日志列表页
            $router->get('/log', 'SystemMessageController@listLog');
        });

        // 上传
        $router->group(['prefix' => 'upload/image', 'namespace' => 'Upload'], function ($router) {
            $router->post('/add', 'ImageController@add');
            $router->post('/file', 'ImageController@otherUpload');
        });

        // 徽章管理
        $router->group(['prefix' => 'badge', 'namespace' => 'Badge'], function ($router) {
            // 徽章列表
            $router->group(['prefix' => 'manager'], function ($router) {
                // 赠送
                $router->post('/give', 'BadgeController@give');
                // 新增
                $router->post('/', 'BadgeController@create');
                // 删除
                $router->delete('/', 'BadgeController@del');
                // 修改
                $router->put('/', 'BadgeController@update');
                // 列表页
                $router->get('/', 'BadgeController@list');
            });

            // 徽章类别
            $router->group(['prefix' => 'type'], function ($router) {
                // 新增
                $router->post('/', 'BadgeTypeController@create');
                // 删除
                $router->delete('/', 'BadgeTypeController@del');
                // 修改
                $router->put('/', 'BadgeTypeController@update');
                // 列表页
                $router->get('/', 'BadgeTypeController@list');
            });

            // 用户徽章
            $router->group(['prefix' => 'user'], function ($router) {
                // 列表页
                $router->get('/', 'BadgeUserController@list');
            });

            // 领取奖励记录
            $router->group(['prefix' => 'reward'], function ($router) {
                // 列表页
                $router->get('/', 'BadgeExchangeController@list');
            });
        });

        // 全服红包
        $router->group(['prefix' => 'red-envelope', 'namespace' => 'RedEnvelope'], function ($router) {
            // 配置
            $router->group(['prefix' => 'manager'], function ($router) {
                $router->post('/', 'RedEnvelopeController@edit');

                $router->get('detail', 'RedEnvelopeController@detail');
            });

            // 记录
            $router->group(['prefix' => 'record'], function ($router) {
                // 详情
                $router->get('detail', 'RedEnvelopeRecordController@detail');
                // 列表
                $router->get('/', 'RedEnvelopeRecordController@list');
            });
        });

        // 红包纪录
        $router->group(['prefix' => 'hongbao', 'namespace' => 'HongBao'], function ($router) {
            $router->get('/info', 'HongBaoLogController@hongbaoList');
            $router->get('/record', 'HongBaoLogController@hongBaoRecord');
        });

        // 举报管理
        $router->group(['prefix' => 'report', 'namespace' => 'Report'], function ($router) {
            // 用户举报
            $router->group(['prefix' => 'user'], function ($router) {
                // 删除
                $router->delete('/', 'UserReportController@del');
                // 列表页
                $router->get('/', 'UserReportController@list');
            });

            // 房间举报
            $router->group(['prefix' => 'room'], function ($router) {
                // 删除
                $router->delete('/', 'RoomReportController@del');
                // 列表页
                $router->get('/', 'RoomReportController@list');
            });
        });

        // 内容管理
        $router->group(['prefix' => 'content-manager', 'namespace' => 'ContentManager'], function ($router) {
            // 关于我们
            $router->group(['prefix' => 'about-us'], function ($router) {
                // 新增
                $router->post('/', 'AboutController@create');
                // 删除
                $router->delete('/', 'AboutController@del');
                // 修改
                $router->put('/', 'AboutController@update');
                // 列表页
                $router->get('/', 'AboutController@list');
            });

            // 各类文章分类
            $router->group(['prefix' => 'about-classify'], function ($router) {
                // 新增
                $router->post('/', 'AboutClassifyController@create');
                // 删除
                $router->delete('/', 'AboutClassifyController@del');
                // 修改
                $router->put('/', 'AboutClassifyController@update');
                // 列表页
                $router->get('/', 'AboutClassifyController@list');
            });
            // 轮播图类别列表
            $router->get('/list-ad-category', 'AdController@bannerCategoryList');
            // 轮播图
            $router->group(['prefix' => 'list-ad'], function ($router) {
                // 新增
                $router->post('/', 'AdController@create');
                // 删除
                $router->delete('/', 'AdController@del');
                // 修改
                $router->put('/', 'AdController@update');
                // 列表页
                $router->get('/', 'AdController@list');
                // 轮播图类别列表页
                $router->get('category', 'AdController@bannerCategoryList');
                //banner 对应跳转地址
                $router->get('/banner-skip', 'AdController@getMyBannerSkipType');
            });

            // 文章分类
            $router->group(['prefix' => 'article-category'], function ($router) {
                // 新增
                $router->post('/', 'ArticleCategoryController@create');
                // 删除
                $router->delete('/', 'ArticleCategoryController@del');
                // 修改
                $router->put('/', 'ArticleCategoryController@update');
                // 列表页
                $router->get('/', 'ArticleCategoryController@list');
            });

            // 文章列表
            $router->group(['prefix' => 'article'], function ($router) {
                // 新增
                $router->post('/', 'ArticleController@create');
                // 删除
                $router->delete('/', 'ArticleController@del');
                // 修改
                $router->put('/', 'ArticleController@update');
                // 列表页
                $router->get('/', 'ArticleController@list');
            });

            // 聊天室记录
            $router->group(['prefix' => 'chat-log'], function ($router) {
                $router->get('export/excel', 'ChatLogController@export');
                $router->get('/', 'ChatLogController@list');
            });

            // 表情列表
            $router->group(['prefix' => 'face'], function ($router) {
                // 新增
                $router->post('/', 'FaceController@create');
                // 删除
                $router->delete('/', 'FaceController@del');
                // 修改
                $router->put('/', 'FaceController@update');
                // 列表页
                $router->get('/', 'FaceController@list');
            });

            // 专属表情
            $router->group(['prefix' => 'face-special'], function ($router) {
                // 新增
                $router->post('/', 'FaceSpecialController@create');
                // 删除
                $router->delete('/', 'FaceSpecialController@del');
                // 修改
                $router->put('/', 'FaceSpecialController@update');
                // 列表页
                $router->get('/', 'FaceSpecialController@list');
            });
        });

        // 会员管理
        $router->group(['prefix' => 'user-manager', 'namespace' => 'UserManager'], function ($router) {
            // 会员账号管理
            $router->group(['prefix' => 'user-account'], function ($router) {
                //修改用户支付宝账号个数
                $router->post('/alipay_num', 'UserAccountController@editAlipayUserNum');
                $router->post('/bank_num', 'UserAccountController@editBankUserNum');
                //换绑手机号
                $router->put('/mobile', 'UserAccountController@editMobile');
                // 删除
                $router->delete('/', 'UserAccountController@del');
                // 修改
                $router->put('/', 'UserAccountController@update');
                // 列表页
                $router->get('/', 'UserAccountController@list');
                // 充值
                $router->post('/operate/recharge', 'UserAccountController@recharge');
                // 赠送礼物
                $router->post('/operate/give-gift', 'UserAccountController@GiveGift');

                //封禁/解封原因
                $router->get('/ban/reason', 'UserAccountController@banReason');

                // 封禁用户
                $router->post('/ban', 'UserAccountController@ban');
                //解封用户
                $router->post('/unblock', 'UserAccountController@unblock');
                // 设置用户角色
                $router->post('/operate/set-user-role', 'UserAccountController@SetUserRole');
                // 重置环信账号
                $router->post('/operate/reset-emchat', 'UserAccountController@ResetEmchat');
                // 赠送经验
                $router->post('/operate/add-exp', 'UserAccountController@AddExp');
                //导出充值用户
                $router->post('/rechargeUserExport', 'UserAccountController@rechargeUserExport');
                //冻结或解冻收益账户
                $router->post('/setEarningsStatus', 'UserAccountController@setEarningsStatus');
                //用户金额数据
                $router->get('/user-money-data', 'UserAccountController@userMoneyData');
                //获取用户信息（ID、昵称等）
                $router->get('/user-data', 'UserAccountController@getUserData');
                //赠送爵位
                $router->post('/nobility', 'UserAccountController@sendNobility');
                //冻结或解冻收益账户|凍結餘額或解凍
                $router->post('/setEarningsStatusOrMoney', 'UserAccountController@setEarningsStatusOrMoney');
                //获取详情
                $router->get('/detail', 'UserAccountController@detail');
                //获取省市区信息
                $router->get('/get-region', 'UserAccountController@getRegion');
                //获取用户处罚记录信息
                $router->get('/get-punish', 'UserAccountController@getContentPunishList');
                //获取用户处罚选项信息
                $router->get('/punish/reason/option', 'UserAccountController@getContentPunishOption');
                //获取用户处罚时间选项信息
                $router->get('/punish/time/option', 'UserAccountController@getContentTimeOption');
                //获取用户处罚列表
                $router->get('/action-lists', 'UserAccountController@getActionLists');
                //用户封禁操作
                $router->post('/action-user', 'UserAccountController@userActionSet');
                //用户职业列表
                $router->get('/profession', 'UserAccountController@getProfession');
                $router->get('/friend/label', 'UserAccountController@getFriendLabel');
            });

            //用户封禁类型管理
            $router->group(['prefix' => 'ban-classify'], function ($router) {
                $router->get('/list','UserBanClassifyController@list');
                $router->post('/create','UserBanClassifyController@create');
                $router->get('/info','UserBanClassifyController@info');
                $router->post('/update','UserBanClassifyController@update');
                $router->post('/delete','UserBanClassifyController@delete');
                $router->get('/first/classify','UserBanClassifyController@firstClassify');         //获取所有的一级分类
            });
            //用户解封类型管理
            $router->group(['prefix' => 'untie-ban-classify'], function ($router) {
                $router->get('/list','UserUntieBanClassifyController@list');
                $router->post('/create','UserUntieBanClassifyController@create');
                $router->get('/info','UserUntieBanClassifyController@info');
                $router->post('/update','UserUntieBanClassifyController@update');
                $router->post('/delete','UserUntieBanClassifyController@delete');
            });

            // 会员礼包
            $router->group(['prefix' => 'user-gift-bag'], function ($router) {
                // 新增
                $router->post('/', 'UserGiftBagController@create');
                // 删除
                $router->delete('/', 'UserGiftBagController@del');
                // 修改
                $router->put('/', 'UserGiftBagController@update');
                // 赠送
                $router->post('/send', 'UserGiftBagController@send');
                // 下拉框内容
                $router->get('/select/list', 'UserGiftBagController@selectList');
                // 列表页
                $router->get('/', 'UserGiftBagController@list');
            });

            // 用户账户日志
            $router->group(['prefix' => 'user-account-log'], function ($router) {
                // 收支类型
                $router->get('change-type/list', 'UserAccountLogController@typeList');
                // 列表页
                $router->get('/', 'UserAccountLogController@list');
                // 导出
                $router->get('export/excel', 'UserAccountLogController@export');
                // 异步导出
                $router->get('export/excel/async', 'UserAccountLogController@asyncToExcel');
                // 账户收益冻结
                $router->get('earningsFreeze', 'UserAccountLogController@earningsFreeze');
                // 账户余额+账户收益+背包礼物记录
                $router->post('/all', 'UserAccountLogController@alllist');
            });

            // 管理员充值
            $router->group(['prefix' => 'admin-recharge'], function ($router) {
                // 列表页
                $router->get('/', 'AdminRechargeController@list');
                // 导出
                $router->get('export/excel', 'AdminRechargeController@export');
                //异步导出
                $router->get('export/excel/async', 'AdminRechargeController@exportAsync');
                //修改管理员充值备注
                $router->post('/remark', 'AdminRechargeController@setRachargeRemark');
            });

            // 管理员送礼
            $router->group(['prefix' => 'admin-give-gift'], function ($router) {
                // 列表页
                $router->get('/', 'AdminRechargeController@getAdminGiveGift');
                // 修改备注
                $router->put('/remark', 'AdminRechargeController@setAdminGiveGiftRemark');
            });

            // 用户封禁记录
            $router->group(['prefix' => 'user-ban-list'], function ($router) {
                // 删除
                $router->delete('/', 'UserSealController@del');
                // 列表页
                $router->get('/', 'UserSealController@list');
                $router->get('/excel', 'UserSealController@toExcel');
            });
            //用户解封记录
            $router->group(['prefix' => 'user-untie-list'], function ($router) {
                // 列表页
                $router->get('/', 'UserUntieLogController@list');
                $router->get('/excel', 'UserUntieLogController@toExcel');
            });

            // 会员更新日志
            $router->group(['prefix' => 'user-change-log'], function ($router) {
                // 列表页
                $router->get('/', 'UserChangeController@list');
            });

            // 背包礼物
            $router->group(['prefix' => 'backpack-gift'], function ($router) {
                // 删除
                $router->delete('/', 'BackpackGiftController@del');
                // 冻结
                $router->post('/freeze', 'BackpackGiftController@freeze');
                //批量冻结
                $router->post('/vast-freeze', 'BackpackGiftController@vastFreeze');
                // 列表页
                $router->get('/', 'BackpackGiftController@list');
                //表格导出礼物列表
                $router->get('/excel', 'BackpackGiftController@backpackGiftToExcel');
                //异步导出表格功能
                $router->get('/excel/async', 'BackpackGiftController@asyncToEccel');
                //送礼纪录
                $router->get('/give/gift', 'BackpackGiftController@userGiveGiftLog');
            });

            // 用户设备
            $router->group(['prefix' => 'device'], function ($router) {
                // 设备设置
                $router->post('/device-ban', 'DeviceController@deviceBan');
                // ip设置
                $router->post('/ip-ban', 'DeviceController@ipBan');
                // 列表页
                $router->get('/', 'DeviceController@list');
                //用户设备导出
                $router->get('/excel', 'DeviceController@driverToExcel');
            });

            // 头像审核
            $router->group(['prefix' => 'avatar'], function ($router) {
                // 设置
                $router->post('/batch/check', 'AvatarController@check');
                // 列表页
                $router->get('/', 'AvatarController@list');
            });


            // 意见反馈
            $router->group(['prefix' => 'feed-back'], function ($router) {
                // 删除
                $router->delete('/', 'FeedBackController@del');
                // 列表页
                $router->get('/', 'FeedBackController@list');
            });

            // 接收礼包用户
            $router->group(['prefix' => 'receive-gift-bag'], function ($router) {
                // 列表页
                $router->get('/', 'UserGiftBagController@receiveList');
            });

            // 实名认证
            $router->group(['prefix' => 'user-auth'], function ($router) {
                // 设置
                $router->post('/single/cancel', 'UserAuthController@cancel');
                // 设置
                $router->post('/single/check', 'UserAuthController@check');
                // 列表页
                $router->get('/', 'UserAuthController@list');
                //查看身份证权限
                $router->get('/check/id_number', 'UserAuthController@checkIdNumber');
                //实名封禁或者解封
                $router->post('/ban', 'UserAuthController@ban');
                //获取用户信息
                $router->get('/user/info', 'UserAuthController@userInfo');
                //解绑
                $router->get('/untie', 'UserAuthController@userAuthUntie');
                //封禁记录
                $router->get('/ban/log', 'UserAuthController@banLog');
            });

            // 支付宝账号列表
            $router->group(['prefix' => 'user-bank'], function ($router) {
                // 新增
                $router->post('/', 'UserBankController@create');
                // 删除
                $router->delete('/', 'UserBankController@del');
                // 列表页
                $router->get('/', 'UserBankController@list');

                //自动校验支付宝开关详情
                $router->get('/auto_check_status', 'UserBankController@autoCheckStatus');
                //更新自动校验支付宝开关
                $router->post('/update/auto_check_status', 'UserBankController@updateAutoCheckStatus');
            });

            //用户常用语
            $router->group(['prefix' => 'common-words'], function ($router) {
                $router->get('list', 'CommonWordsController@list');  //用户常用语列表
                $router->post('add', 'CommonWordsController@add');   //添加常用语
                $router->put('edit', 'CommonWordsController@edit');  //编辑常用语
                $router->delete('del', 'CommonWordsController@del'); //删除用户常用语
            });

            $router->group(['prefix' => 'special'], function ($router) {
                $router->get('user-info','SpecialUserController@userInfo');
                $router->get('users','SpecialUserController@lists');
                $router->get('stat','SpecialUserController@stat');
                $router->post('add','SpecialUserController@add');
                $router->post('edit','SpecialUserController@edit');
                $router->post('delete','SpecialUserController@delete');
            });
        });

        // 房间管理
        $router->group(['prefix' => 'room', 'namespace' => 'RoomManager'], function ($router) {

            // 房间列表
            $router->get('list', 'RoomController@roomList');
            // 房间详情
            $router->get('detail', 'RoomController@roomDetail');
            // 房间编辑
            $router->put('update/detail', 'RoomController@roomUpdate');
            // 获取房间分类数组
            $router->get('typearr', 'RoomController@getRoomTypeArr');
            // 获取房间标签数组
            $router->get('labelarr', 'RoomController@getRoomLabelArr');
            // 房间数据导出
            $router->get('export', 'RoomController@roomExport');
            // 房间流水
            $router->get('income', 'RoomController@income');
            // 赠送人气
            $router->post('send/popularity', 'RoomController@sendPopularity');
            // 创建厅
            $router->post('create/hall', 'RoomController@createHall');
            // 封禁房间
            $router->post('ban', 'RoomController@roomBan');
            // 解封房间
            $router->post('unlock', 'RoomController@roomUnlock');
            // 删除房间
            $router->delete('delete', 'RoomController@roomDelete');
            // 流水设置
            $router->post('water-ratio/set', 'RoomController@roomRateSet');
            //设置显示的最大在线用户数
            $router->put('user-show-num-limit', 'RoomController@setShowMaxOnlineUserNum');
            // 踢人记录
            $router->get('kickout/list', 'RoomController@roomKickoutList');

            //房间类型
            $router->group(['prefix' => 'type'], function ($router) {
                $router->get('/all', 'TypeController@all'); //获取所有房间类型
            });

            //判断是否充钱上麦
            $router->group(['prefix' => 'microphone'], function ($router) {
                $router->put('/', 'MicrophoneController@update'); //修改上麦配置
                $router->get('/', 'MicrophoneController@list');   //获取所有房间类型
            });

            // 房间音效
            $router->group(['prefix' => 'sound-effect'], function ($router) {
                // 新增
                $router->post('/', 'SoundEffectController@create');
                // 删除
                $router->delete('/', 'SoundEffectController@del');
                // 修改
                $router->put('/', 'SoundEffectController@update');
                // 列表页
                $router->get('/', 'SoundEffectController@list');
            });

            // 封禁记录
            $router->group(['prefix' => 'ban-list'], function ($router) {
                //房间封禁记录列表
                $router->get('/', 'RoomController@roomBanList');
                //房间封禁删除(解封)
                $router->delete('/', 'RoomController@roomBanlistDelete');
            });

            // 房间修改记录
            $router->group(['prefix' => 'update-log'], function ($router) {
                // 房间修改记录
                $router->get('/', 'RoomController@roomUpdateList');
            });

            // 锁房记录
            $router->group(['prefix' => 'lock-record'], function ($router) {
                // 列表
                $router->get('/', 'RoomController@roomLockList');
                // 锁房时间统计
                $router->get('/lock-time/statistic', 'RoomController@roomLockTimeStatistic');
            });

            // 特殊房间
            $router->group(['prefix' => 'special-room'], function ($router) {
                // 新增
                $router->post('/', 'SpecialRoomController@create');
                // 删除
                $router->delete('/', 'SpecialRoomController@del');
                // 修改
                $router->put('/', 'SpecialRoomController@update');
                // 列表页
                $router->get('/', 'SpecialRoomController@list');
            });

            // 背景图列表
            $router->group(['prefix' => 'background-image'], function ($router) {
                // 新增
                $router->post('/', 'BackgroundImageController@create');
                // 删除
                $router->delete('/', 'BackgroundImageController@del');
                // 修改
                $router->put('/', 'BackgroundImageController@update');
                // 列表页
                $router->get('/', 'BackgroundImageController@list');
                // 赠送
                $router->post('/give', 'BackgroundImageController@background_give');
                // 购买记录列表
                $router->get('/buy_log', 'BackgroundImageController@buy_log_list');
            });

            // 房间流水统计
            $router->group(['prefix' => 'statistic'], function ($router) {
                // 列表页
                $router->get('/', 'StatisticController@list');
            });
            // 房间轮播图
            $router->group(['prefix' => 'banner'], function ($router) {
                // 列表页
                $router->get('/', 'RoomBannerController@list');
                // 添加
                $router->post('/', 'RoomBannerController@addRoomBanner');
                // 修改
                $router->post('/update', 'RoomBannerController@updateRoomBanner');
                // 删除
                $router->delete('/', 'RoomBannerController@deleteRoomBanner');
            });

            // 获取随机热门房间
            $router->get('randomHotRooms', 'RoomController@getRandomHotRooms');
            // 修改随机热门房间
            $router->put('randomHotRooms', 'RoomController@editRandomHotRooms');
            // 语音房违规记录
            $router->get('voiceRoomIllegal', 'RoomController@voiceRoomIllegal');
            // 进人统计
            $router->get('intoRoomStatistic', 'RoomController@intoRoomStatistic');
            //进人统计（改版）
            $router->get('into-statistic', 'RoomController@intoStatistic');
            //进人统计详情
            $router->get('into-statistic/detail', 'RoomController@intoStatisticDetail');
            //导出进人统计详情
            $router->get('into-statistic/detail/export', 'RoomController@exportIntoStatisticDetail');
            // 客户端房间操作纪录
            $router->get('client-log', 'RoomUserOperationLogsController@logList');
        });

        // 订单管理
        $router->group(['prefix' => 'order', 'namespace' => 'OrderManager'], function ($router) {
            // 支付宝提现
            $router->group(['prefix' => 'alipay-draw'], function ($router) {
                // 批量审核
                $router->post('check', 'AlipayDrawController@check');
                // 备注
                $router->post('remark', 'AlipayDrawController@remark');
                // 导出
                $router->get('export/excel', 'AlipayDrawController@export');
                //异步导出
                $router->get('export/excel/async', 'AlipayDrawController@exportAsync');
                // 列表页
                $router->get('/', 'AlipayDrawController@list');
                // 自动审核开关
                $router->post('/auto_check', 'AlipayDrawController@setAutoCheck');
                // 获取自动审核开关
                $router->get('/get_auto_check', 'AlipayDrawController@getAutoCheck');
            });

            // 爵位订单
            $router->group(['prefix' => 'buy-nobility-list'], function ($router) {
                //购买爵位订单列表
                $router->get('/', 'NobilityController@buyNobilityList');
            });

            //内部账号
            $router->group(['prefix' => 'inside'], function ($router) {
                $router->get('/list', 'InsideUserController@list'); //列表
                $router->delete('/', 'InsideUserController@delete'); //删除
                $router->post('save', 'InsideUserController@addOrEdit'); //创建
                $router->get('/user_info', 'InsideUserController@userInfo'); ///编辑
            });

            //银行卡提现
            $router->group(['prefix' => 'bank'], function ($router) {
                // 批量审核
                $router->post('check', 'BankDrawController@check');
                // 备注
                $router->post('remark', 'BankDrawController@remark');
                // 导出
                $router->get('export/excel', 'BankDrawController@export');
                // 列表页
                $router->get('/', 'BankDrawController@list');
            });

            //对公打款提现
            $router->group(['prefix' => 'corporate_account'], function ($router) {
                // 批量审核
                $router->post('check', 'CorporateAccountDrawController@check');
                // 备注
                $router->post('remark', 'CorporateAccountDrawController@remark');
                // 导出
                $router->get('export/excel', 'CorporateAccountDrawController@export');
                // 列表页
                $router->get('/', 'CorporateAccountDrawController@list');
            });

            //支付宝提现白名单
            $router->group(['prefix' => 'whitelist'], function ($app) {
                //新增提现白名单
                $app->post('/', 'WithdrawWhitelistController@add');
                //移除提现白名单
                $app->delete('/', 'WithdrawWhitelistController@del');
                //提现白名单列表
                $app->get('/', 'WithdrawWhitelistController@list');
            });
            //获取支付宝账户信息
            $router->get('/info', 'WithdrawWhitelistController@getAlipayAccountInfo');

        });

        // 房间分类管理
        $router->group(['prefix' => 'room-class', 'namespace' => 'RoomManager'], function ($router) {
            // 分类
            $router->group(['prefix' => 'type'], function ($router) {
                // 新增
                $router->post('/', 'RoomController@createType');
                // 删除
                $router->delete('/', 'RoomController@delType');
                // 修改
                $router->put('/', 'RoomController@updateType');
                // 列表页
                $router->get('/', 'RoomController@roomTypeList');
            });

            // 标签
            $router->group(['prefix' => 'label'], function ($router) {
                // 新增
                $router->post('/', 'RoomController@createLabel');
                // 删除
                $router->delete('/', 'RoomController@delLabel');
                // 修改
                $router->put('/', 'RoomController@updateLabel');
                // 列表页
                $router->get('/', 'RoomController@roomLabelList');
            });
            // 推荐
            $router->group(['prefix' => 'recommend-class'], function ($router) {
                // 新增
                $router->post('/', 'RoomController@createRecommend');
                // 删除
                $router->delete('/', 'RoomController@delRecommend');
                // 修改
                $router->put('/', 'RoomController@updateRecommend');
                // 列表页
                $router->get('/', 'RoomController@getRecommendLists');
                $router->get('/detail', 'RoomController@getRecommendDetail');
                // 列表保存
                $router->get('/type/lists', 'RoomController@getTypeLists');
                $router->put('/type', 'RoomController@updateRecommendType');
                $router->get('/room', 'RoomController@getRoomSearch');
            });
        });

        //竞猜管理
        $router->group(['prefix' => 'guessing', 'namespace' => 'Game'], function ($router) {
            //数据看板
            $router->get('/', 'GameConfigController@endRound');
            //配置内容
            $router->group(['prefix' => 'config'], function ($router) {
                $router->get('/', 'GameConfigController@getconfig');               //获取卡位赔率
                $router->put('/slots', 'GameConfigController@editConfig');         //编辑各个卡位赔率
                $router->put('/playconfig', 'GameConfigController@editPlayConfig'); //修改玩法配置
                //开奖配置
                $router->group(['prefix' => 'log'], function ($router) {
                    $router->get('/', 'GameConfigLogController@logList');       //配置纪录
                    $router->get('/round', 'GameConfigLogController@roundList'); //开奖纪录
                    $router->get('/user', 'GameConfigLogController@userRound'); //开奖详情
                });
            });
            $router->group(['prefix' => 'pro'], function ($router) {
                $router->get('/gift', 'GameGiftController@giftList'); //礼物下拉列表
                $router->post('/', 'GameGiftController@addPro');     //添加商品
                $router->put('/', 'GameGiftController@editPro');     //编辑商品
                $router->get('/', 'GameGiftController@proList');     //礼物配置列表
                $router->delete('/', 'GameGiftController@delPro');   //删除商品
            });
            $router->group(['prefix' => 'user'], function ($router) {
                $router->get('/', 'GameUserController@userGameList');          //用户信息查询
                $router->get('/log', 'GameUserController@gamelog');            //游戏纪录查询
                $router->get('/loglist', 'GameUserController@userGamelogList'); //游戏纪录查询
                $router->get('/prolog', 'GameUserController@orderList');       //合成纪录
            });
        });

        // 个性商城
        $router->group(['prefix' => 'mall', 'namespace' => 'MallManager'], function ($router) {
            // 类别
            $router->group([], function ($router) {
                //商城分类列表
                $router->post('mall_type_list', 'MallController@mall_type_list');
                //添加商城分类
                $router->post('mall_type_add', 'MallController@mall_type_add');
                //编辑商城分类
                $router->post('mall_type_save', 'MallController@mall_type_save');
                //删除商城分类
                $router->post('mall_type_del', 'MallController@mall_type_del');
            });

            // 商品
            $router->group([], function ($router) {
                //商城产品列表
                $router->post('mall_product_list', 'MallController@mall_product_list');
                //商城搜索条件列表
                $router->post('mall_search_list', 'MallController@mall_search_list');
                //商城产品添加
                $router->post('mall_product_add', 'MallController@mall_product_add');
                //商城产品编辑
                $router->post('mall_product_save', 'MallController@mall_product_save');
                //商城产品删除
                $router->post('mall_product_del', 'MallController@mall_product_del');
                //产品详情
                $router->post('mall_product_detail', 'MallController@mall_product_detail');
                //赠送产品
                $router->post('mall_product_give', 'MallController@mall_product_give');
            });

            // 购买记录
            $router->group([], function ($router) {
                //产品购买记录列表
                $router->post('mall_order_list', 'MallController@mall_order_list');
                $router->get('mall_order_list_history', 'MallController@mallOrderHistoryList');
            });

            //国庆兑换列表
            $router->get('nd_conversion_list', 'MallController@ndConversionList');
        });

        // 盲盒
        $router->group(['prefix' => 'bland-box', 'namespace' => 'BlindBoxManager'], function ($router) {
            //盲盒配置说明列表
            $router->get('/explain', 'BlindBoxController@getBoxConfig');
            //添加盲盒说明配置
            $router->post('/explain', 'BlindBoxController@addBoxConfig');
            //删除盲盒说明配置
            $router->delete('/explain', 'BlindBoxController@delBoxConfig');
            //修改盲盒配置说明
            $router->put('/explain', 'BlindBoxController@editBoxConfig');
            // 批量修改
            $router->put('/editMore', 'BlindBoxController@editMore');
            // 奖池替换
            $router->put('/replacePool', 'BlindBoxController@replacePool');
            // 新增
            $router->post('/', 'BlindBoxController@create');
            // 删除
            $router->delete('/', 'BlindBoxController@del');
            // 修改
            $router->put('/', 'BlindBoxController@update');
            // 列表页
            $router->get('/', 'BlindBoxController@list');
        });

        // 首页
        $router->group(['prefix' => 'home',], function ($router) {
            $router->get('/', 'IndexController@index');
        });

        //礼物管理模块
        $router->group(['prefix' => 'reward', 'namespace' => 'Reward'], function ($router) {
            $router->put('update', 'RewardController@upRewardApi');
            $router->get('/list', 'RewardController@getRewardListApi');
            $router->put('send', 'RewardController@sendRewardApi');
            $router->get('detail/type/list', 'RewardController@getRewardDetailTypeListApi');
            $router->put('detail/type/update', 'RewardController@addRewardDetailTypeApi');
            $router->put('detail/type/del', 'RewardController@delRewardDetailTypeApi');
            $router->get('item/list', 'RewardController@getRewardItemListApi');
            $router->put('item/update', 'RewardController@updateRewardItemApi');
            $router->put('item/del', 'RewardController@delewardItemApi');
        });

        //积分商城管理模块
        $router->group(['prefix' => 'product/group', 'namespace' => 'ProductGroup'], function ($router) {
            $router->put('add', 'ProductGroupController@addProductGroup');
            $router->get('list', 'ProductGroupController@getProductGroupListApi');
            $router->get('detail/list', 'ProductGroupController@getProductGroupInfoApi');
            $router->put('del', 'ProductGroupController@delProductGroupApi');
            $router->put('update', 'ProductGroupController@updateProductGroupApi');
            $router->get('exchange/log', 'ProductGroupController@getExchangeProductApi');
        });

        //动态
        $router->group(['prefix' => 'microblog', 'namespace' => 'MicroBlog'], function ($router) {
            //待机器审核
            $router->get('waitMachineCheckList', 'MicroBlogController@waitMachineCheckList');
            //可人工审核列表
            $router->get('list', 'MicroBlogController@list');
            //人工审核成功列表
            $router->get('passList', 'MicroBlogController@passList');
            //人工审核拒绝列表
            $router->get('refuseList', 'MicroBlogController@refuseList');
            //审核
            $router->post('audit', 'MicroBlogController@audit');
            //删除
            $router->post('delete', 'MicroBlogController@delete');

            //审核通过的列表
            $router->post('comment/delete', 'MicroBlogController@deleteComment');
            $router->get('comment/list', 'MicroBlogController@getCommentList');
        });

        //金刚区
        $router->group(['prefix' => 'index/nav'], function ($router) {
            $router->get('list', 'IndexNavController@getIndexNavListApi');
            $router->put('update', 'IndexNavController@upIndexNavApi');
        });

        //周星榜
        $router->group(['prefix' => 'week/star', 'namespace' => 'WeekStar'], function ($router) {
            $router->get('gift/list', 'WeekStarGiftController@getWeekStarGiftListApi');
            $router->get('gift/all', 'WeekStarGiftController@weekGift');
            $router->put('gift/del', 'WeekStarGiftController@delWeekStarGiftApi');
            $router->put('gift/update', 'WeekStarGiftController@upWeekStarGiftApi');
            $router->get('history/list', 'WeekStarHistoryController@getWeekRankInfoApi');
            $router->get('history/type/list', 'WeekStarHistoryController@getWeekRankTypeListApi');
            $router->get('history/user/list', 'WeekStarHistoryController@userRankInfoApi');
            $router->get('history/rank/list', 'WeekStarHistoryController@getHistoryRankApi');
            $router->get('history/rank/export', 'WeekStarHistoryController@exportHistory');
        });

        // 任务
        $router->group(['prefix' => 'task', 'namespace' => 'Task'], function ($router) {
            // 任务配置
            $router->group(['prefix' => 'config'], function ($router) {
                //任务类型列表
                $router->get('/', 'TaskConfigController@list');
                //添加
                $router->post('/', 'TaskConfigController@create');
                //修改
                $router->put('/', 'TaskConfigController@update');
                //删除
                $router->delete('/', 'TaskConfigController@del');
            });

            // 任务类型
            $router->group(['prefix' => 'type'], function ($router) {
                //任务配置列表
                $router->get('/', 'TaskTypeController@list');
                //添加
                $router->post('/', 'TaskTypeController@create');
                //修改
                $router->put('/', 'TaskTypeController@update');
                //删除
                $router->delete('/', 'TaskTypeController@del');
            });

            // 任务模块
            $router->group(['prefix' => 'module'], function ($router) {
                //任务模块列表
                $router->get('/', 'TaskModuleController@list');

                //添加
                $router->post('/', 'TaskModuleController@create');

                //修改
                $router->put('/', 'TaskModuleController@update');

                //删除
                $router->delete('/', 'TaskModuleController@del');
            });
        });

        //数据统计
        $router->group(['prefix' => 'statistic'], function ($router) {
            //平台所有数据汇总统计
            $router->get('/index', 'StatisticsController@index');
            //游戏留存统计
            $router->get('/keep/game', 'StatisticsController@accountCheck');
            //游戏留存导出
            $router->get('/keep/game/excel', 'StatisticsController@accountChecktoXlsl');
            //商场按天统计总金额 数据导出
            $router->get('/keep/mallcate/excel', 'StatisticsController@fordayMallOrderToExcel');
            //商场按天统计总金额
            $router->get('/keep/mallcate', 'StatisticsController@fordayMallOrder');
            //需要统计的商品分类
            $router->get('/cate', 'StatisticsController@mallCate');
            //导出用户等级
            $router->get('/userGradeExport', 'StatisticsController@userGradeExport');
        });
        //留存数据
        $router->get('/remain', 'StatisticsController@index');

        //留存数据统计
        $router->group(['prefix' => 'remain', 'namespace' => 'Remind'], function ($router) {
            //平台留存数据
            $router->get('/index', 'RemindController@remindStat');
            //留存数据导出
            $router->get('/export_xls', 'RemindController@exportExcel');
        });

        //盲盒
        $router->group(['prefix' => 'giftbox'], function ($router) {
            //获取所有盲盒礼物
            $router->get('/getallboxgift', 'GiftBoxController@getAllBoxGift');
            //中奖记录
            $router->get('/pricerecord', 'GiftBoxController@priceRecord');
            //根据盲盒类型获取奖池类型
            $router->get('/getpondtypes', 'GiftBoxController@getPondTypes');
            //个人奖池配置
            $router->get('/pondset', 'GiftBoxController@pondSet');
            //新手用户列表
            $router->get('/newuserlist', 'GiftBoxController@newUserList');
            //个人用户奖池
            $router->get('/userlist', 'GiftBoxController@userList');
            //新增盲盒奖池礼物
            $router->post('/addboxgift', 'GiftBoxController@addBoxGift');
            //编辑盲盒奖池礼物
            $router->put('/editboxgift', 'GiftBoxController@editBoxGift');
            //删除盲盒奖池礼物
            $router->delete('/delboxgift', 'GiftBoxController@delBoxGift');
            //个人用户奖池详情
            $router->get('/userpooldetail', 'GiftBoxController@userPoolDetail');
            //添加个人用户奖池礼物
            $router->post('/userpoolgiftadd', 'GiftBoxController@userPoolGiftAdd');
            //编辑个人用户奖池礼物
            $router->put('/userpoolgiftedit', 'GiftBoxController@userPoolGiftEdit');
            //删除个人用户奖池礼物
            $router->delete('/userpoolgiftdel', 'GiftBoxController@userpoolgiftdel');
            //盲盒奖品列表
            $router->get('/boxgiftlist', 'GiftBoxController@boxGiftList');
            //盲盒奖品新增
            $router->post('/boxgiftadd', 'GiftBoxController@boxGiftAdd');
            //盲盒奖品编辑
            $router->put('/boxgiftedit', 'GiftBoxController@boxGiftEdit');
            //盲盒奖品删除
            $router->delete('/boxgiftdel', 'GiftBoxController@boxGiftDel');
        });

        //周年庆活动
        $router->group(['prefix' => 'anniversaryblindbox'], function ($router) {
            //周年庆活动
            $router->get('/index', 'AnniversaryBlindBoxController@index');
            //更新可抽盲盒数量
            $router->put('/updatemaxnum', 'AnniversaryBlindBoxController@updateMaxNum');
            //添加可抽取盲盒
            $router->post('/add', 'AnniversaryBlindBoxController@add');
            //编辑可抽取盲盒
            $router->put('/edit', 'AnniversaryBlindBoxController@edit');
        });

        //查看标记用户列表
        $router->get('/anniversaryuser/index', 'AnniversaryUserController@index');

        //幸运树-特殊独立奖池
        $router->group(['prefix' => 'independentPool'], function ($router) {
            //特殊独立奖池
            $router->get('/pondGiftList', 'IndependentPoolController@pondGiftList');
            //添加奖池礼物
            $router->post('/pondGiftAdd', 'IndependentPoolController@pondGiftAdd');
            //编辑奖池礼物
            $router->put('/pondGiftEdit', 'IndependentPoolController@pondGiftEdit');
            //删除奖池礼物
            $router->delete('/pondGiftDel', 'IndependentPoolController@pondGiftDel');
        });

        //幸运树-特殊独立奖池用户
        $router->group(['prefix' => 'independentPoolUser'], function ($router) {
            //用户列表
            $router->get('/poolUserList', 'IndependentPoolUserController@poolUserList');
            //添加用户
            $router->post('/add', 'IndependentPoolUserController@add');
            //编辑用户
            $router->put('/edit', 'IndependentPoolUserController@edit');
            //删除用户
            $router->delete('/del', 'IndependentPoolUserController@del');
        });

        //幸运树-特殊独立奖池用户详情
        $router->group(['prefix' => 'independentPoolUserDetail'], function ($router) {
            //查看用户详情
            $router->get('/detail', 'IndependentPoolUserDetailController@detail');
            //添加用户礼物
            $router->post('/giftAdd', 'IndependentPoolUserDetailController@giftAdd');
            //编辑用户礼物
            $router->put('/giftEdit', 'IndependentPoolUserDetailController@giftEdit');
            //删除用户礼物
            $router->delete('/giftDel', 'IndependentPoolUserDetailController@giftDel');
        });

        //幸运树-特殊独立奖池类型
        $router->group(['prefix' => 'independentPoolType'], function ($router) {
            //奖池类型列表
            $router->get('/typeList', 'IndependentPoolTypeController@typeList');
            //添加奖池类型
            $router->post('/add', 'IndependentPoolTypeController@add');
            //编辑奖池类型
            $router->put('/edit', 'IndependentPoolTypeController@edit');
        });

        //平台审核-话题广场
        $router->group(['prefix' => 'theme'], function ($router) {
            //话题列表
            $router->get('/list', 'ThemeController@list');
            //添加
            $router->post('/add', 'ThemeController@add');
            //修改
            $router->put('/edit', 'ThemeController@edit');
            //删除
            $router->delete('/del', 'ThemeController@del');
        });

        //用户变更记录
        $router->group(['prefix' => 'userChange', 'namespace' => 'UserManager'], function ($router) {
            //头像变更记录
            $router->get('headChangeList', 'UserChangeController@headChangeList');
            //头像审核
            $router->put('headAudit', 'UserChangeController@headAudit');
            //用户照片列表
            $router->get('userPhotoList', 'UserChangeController@userPhotoList');
            //删除用户照片
            $router->delete('userPhotoDel', 'UserChangeController@userPhotoDel');
            //用户视频列表
            $router->get('userVideo', 'UserChangeController@userVideoList');
            //删除用户视频
            $router->delete('userVideo', 'UserChangeController@delUserVideo');
        });

        $router->group(['prefix' => 'interaction', 'namespace' => 'Interaction'], function ($router) {
            //音效互动
            $router->group(['prefix' => 'sound'], function ($router) {
                $router->get('list', 'InteractionSoundController@list');                 //音效列表
                $router->post('delete', 'InteractionSoundController@delete');            //删除音效
                $router->post('changestatus', 'InteractionSoundController@changeStatus'); //切换音效显示状态
                $router->post('addandup', 'InteractionSoundController@addAndUp');        //添加或者修改音效
            });
            //变声互动
            $router->group(['prefix' => 'changesound'], function ($router) {
                $router->get('list', 'InteractionChangeSoundController@list');                 //变声列表
                $router->post('changestatus', 'InteractionChangeSoundController@changeStatus'); //改变变声状态
                $router->post('addandup', 'InteractionChangeSoundController@addAndUp');        //添加或者修改变声
            });
            //道具互动
            $router->group(['prefix' => 'prop'], function ($router) {
                $router->get('list', 'InteractionPropController@list');                 //道具列表
                $router->post('changestatus', 'InteractionPropController@changeStatus'); //改变道具状态
                $router->post('addandup', 'InteractionPropController@addAndUp');        //添加或者修改道具
            });
            //玩法互动
            $router->group(['prefix' => 'playmethod'], function ($router) {
                $router->get('list', 'RoomInteractionPlayMethodController@list');                 //玩法列表
                $router->post('changestatus', 'RoomInteractionPlayMethodController@changeStatus'); //改变玩法状态
                $router->post('addandup', 'RoomInteractionPlayMethodController@addAndUp');        //添加或者修改玩法
            });

            //表情互动
            $router->group(['prefix' => 'face'], function ($router) {
                $router->get('/', 'InteractionFaceController@list');
                $router->post('/', 'InteractionFaceController@add');
                $router->put('/', 'InteractionFaceController@edit');
                $router->delete('/', 'InteractionFaceController@delete');
                $router->put('/status', 'InteractionFaceController@changeStatus');
                $router->post('changestatus', 'RoomInteractionPlayMethodController@changeStatus');
            });
        });

        //霍克竞猜管理
        $router->group(['prefix' => 'guessing', 'namespace' => 'Game'], function ($router) {
            //数据看板
            $router->get('/', 'GameConfigController@endRound');
            //配置内容
            $router->group(['prefix' => 'config'], function ($router) {
                $router->get('/', 'GameConfigController@getconfig');               //获取卡位赔率
                $router->put('/slots', 'GameConfigController@editConfig');         //编辑各个卡位赔率
                $router->put('/playconfig', 'GameConfigController@editPlayConfig'); //修改玩法配置
                //开奖配置
                $router->group(['prefix' => 'log'], function ($router) {
                    $router->get('/', 'GameConfigLogController@logList');       //配置纪录
                    $router->get('/round', 'GameConfigLogController@roundList'); //开奖纪录
                    $router->get('/user', 'GameConfigLogController@userRound'); //开奖详情
                });
            });
            $router->group(['prefix' => 'pro'], function ($router) {
                $router->get('/gift', 'GameGiftController@giftList'); //礼物下拉列表
                $router->post('/', 'GameGiftController@addPro');     //添加商品
                $router->put('/', 'GameGiftController@editPro');     //编辑商品
                $router->get('/', 'GameGiftController@proList');     //礼物配置列表
                $router->delete('/', 'GameGiftController@delPro');   //删除商品
            });
            $router->group(['prefix' => 'user'], function ($router) {
                $router->get('/', 'GameUserController@userGameList');          //用户信息查询
                $router->get('/log', 'GameUserController@gamelog');            //游戏纪录查询
                $router->get('/loglist', 'GameUserController@userGamelogList'); //游戏纪录查询
                $router->get('/prolog', 'GameUserController@orderList');       //合成纪录
                $router->get('/bet', 'GameUserController@statisticBet');       //各个卡位投注纪录
            });
        });

        //上公屏纪录
        $router->group(['prefix' => 'screen', 'namespace' => 'Screen'], function ($router) {
            $router->group(['prefix' => 'log'], function ($router) {
                $router->get('/', 'ScreenLog@logList');              //上公屏纪录
                $router->get('/winner_log', 'ScreenLog@winPrizeLog'); //活动中奖记录
            });
            $router->group(['prefix' => 'gift'], function ($router) {
                $router->get('/', 'ScreenLog@giftConfigList');    //公屏礼物列表
                $router->post('/', 'ScreenLog@addScreenGift');    //添加公屏礼物
                $router->put('/', 'ScreenLog@editScreenGift');    //修改公屏礼物
                $router->delete('/', 'ScreenLog@del');            //删除公屏礼物
                $router->put('/status', 'ScreenLog@changeStatus'); //修改公屏礼物状态
                $router->get('/pro', 'ScreenLog@giftList');       //礼物下拉列表框
            });
        });

        //个性商城（新版）
        $router->group(['prefix' => 'mall', 'namespace' => 'Mall'], function ($router) {
            //首页金刚区商品分类
            $router->group(['prefix' => 'index-product-cate'], function ($router) {
                $router->get('list', 'IndexCateController@list');         //获取分类列表
                $router->post('add', 'IndexCateController@add');          //添加商品分类
                $router->put('edit', 'IndexCateController@edit');         //编辑商品分类
                $router->delete('del', 'IndexCateController@del');        //删除商品分类
                $router->get('list-new', 'IndexCateController@listNew');  //新金刚区分类列表
                $router->post('add-new', 'IndexCateController@addNew');   //新金刚区分类添加
                $router->put('edit-new', 'IndexCateController@editNew');  //新金刚区分类编辑
            });
            //商品分类
            $router->group(['prefix' => 'product-cate'], function ($router) {
                $router->get('all', 'ProductCateController@all');              //获取所有商品分类
                $router->get('of-all', 'ProductCateController@getCatesOfAll'); //获取‘全部’分类下的所有子分类
                $router->post('add', 'ProductCateController@add');             //添加商品分类
                $router->put('edit', 'ProductCateController@edit');            //编辑商品分类
                $router->delete('del', 'ProductCateController@del');           //删除商品分类
            });
            //商品子分类
            $router->group(['prefix' => 'product-sub-cate'], function ($router) {
                $router->get('/', 'ProductSubCateController@list');              //获取所有商品子分类
                $router->post('/', 'ProductSubCateController@add');              //添加商品子分类
                $router->put('/', 'ProductSubCateController@edit');              //编辑商品子分类
                $router->delete('/', 'ProductSubCateController@del');            //删除商品子分类
                $router->get('/all', 'ProductSubCateController@all');            //获取所有商品子分类
            });
            //商品风格标签
            $router->group(['prefix' => 'product-style'], function ($router) {
                $router->get('all', 'ProductStyleController@all');         //获取所有风格（列表）
                $router->get('allShow', 'ProductStyleController@allShow'); //获取所有风格（下拉框）
                $router->post('add', 'ProductStyleController@add');        //添加风格
                $router->put('edit', 'ProductStyleController@edit');       //编辑风格
                $router->delete('del', 'ProductStyleController@del');      //删除风格
            });
            //稀有度标签
            $router->group(['prefix' => 'product-rarity-tag'], function ($router) {
                $router->get('all', 'ProductRarityTagController@all');         //列表
                $router->post('/', 'ProductRarityTagController@add');          //添加
                $router->put('/', 'ProductRarityTagController@edit');          //编辑
                $router->delete('/', 'ProductRarityTagController@del');        //删除
            });
            //商品（单品）
            $router->group(['prefix' => 'product'], function ($router) {
                $router->get('list', 'ProductController@list');                                //单品列表
                $router->get('all', 'ProductController@all');                                  //获取所有单品
                $router->get('all-simple', 'ProductController@allSimple');                     //获取所有单品，仅id和名称
                $router->post('add', 'ProductController@add');                                 //添加商品
                $router->get('detail', 'ProductController@detail');                            //获取详情
                $router->put('edit', 'ProductController@edit');                                //编辑商品
                $router->delete('del', 'ProductController@del');                               //删除商品
                $router->post('give', 'ProductController@give');                               //赠送商品
                $router->put('set-discount', 'ProductSetController@setDiscount');              //设置折扣商品
                $router->put('cancel-discount', 'ProductSetController@cancelDiscount');        //取消折扣商品
                $router->put('set-discount-status', 'ProductSetController@setDiscountStatus'); //设置折扣状态
                $router->get('get-discount-time', 'ProductSetController@getDiscountTime');     //获取折扣时间
                $router->put('set-discount-time', 'ProductSetController@setDiscountTime');     //设置折扣时间
                $router->put('set-recommend', 'ProductSetController@setRecommend');            //设置为推荐
            });
            //商品（稀有商品）
            $router->group(['prefix' => 'rare-product'], function ($router) {
                $router->get('list', 'ProductController@rareList');          //稀有商品列表
                $router->post('add', 'ProductController@addRare');           //添加商品
                $router->put('edit', 'ProductController@editRare');          //编辑商品
                $router->get('rarity/list', 'ProductController@rarityList'); //获取商品稀有度下拉框
            });
            //商品（活动商品）
            $router->group(['prefix' => 'activity-product'], function ($router) {
                $router->get('list', 'ProductController@activityList'); //活动商品列表
                $router->post('add', 'ProductController@addActivity');  //添加商品
                $router->put('edit', 'ProductController@editActivity'); //编辑商品
            });
            //商品（折扣商品）
            $router->group(['prefix' => 'discount-product'], function ($router) {
                $router->get('list', 'ProductController@discountList'); //折扣商品列表
                $router->post('add', 'ProductController@addDiscount');  //添加商品
                $router->put('edit', 'ProductController@editDiscount'); //编辑商品
            });
            //商品（人脉）
            $router->group(['prefix' => 'connect-product'], function ($router) {
                $router->post('/', 'ProductController@addConnect'); //添加人脉商品
                $router->put('/', 'ProductController@editConnect'); //编辑加人脉商品
                $router->get('/', 'ProductController@ConnectList'); //人脉商品列表
            });

            //商品（套装）
            $router->group(['prefix' => 'suit'], function ($router) {
                $router->get('list', 'SuitController@list');     //套装列表
                $router->post('add', 'SuitController@add');      //添加套装
                $router->get('detail', 'SuitController@detail'); //获取套装详情
                $router->put('edit', 'SuitController@edit');     //编辑套装
                $router->delete('del', 'SuitController@del');    //删除套装
            });
            //靓号分类
            $router->group(['prefix' => 'good-code-cate'], function ($router) {
                $router->get('list', 'GoodCodeCateController@list'); //列表
                $router->post('add', 'GoodCodeCateController@add');  //添加
                $router->put('edit', 'GoodCodeCateController@edit'); //编辑
            });
            //靓号
            $router->group(['prefix' => 'good-code'], function ($router) {
                $router->get('list', 'GoodCodeController@list');            //列表
                $router->post('add', 'GoodCodeController@add');             //添加
                $router->put('edit', 'GoodCodeController@edit');            //编辑
                $router->get('buy-record', 'GoodCodeController@buyRecord'); //购买记录
            });
            //用户心愿单
            $router->group(['prefix' => 'wish'], function ($router) {
                $router->get('list', 'WishController@list'); //列表
            });
        });

        //导出
        $router->group(['prefix' => 'export'], function ($router) {
            $router->get('log-list', 'ExportController@logList');           //导出日志
            $router->get('user-recharge', 'ExportController@userRecharge'); //导出用户充值
        });

        //导出日志
        $router->group(['prefix' => 'export-log'], function ($router) {
            $router->get('/', 'ExportController@exportLog'); //导出日志
        });

        //相亲房相关
        $router->group(['prefix' => 'blind-date', 'namespace' => 'BlindDate'], function ($router) {
            //心动场景
            $router->group(['prefix' => 'hold-hands/prop'], function ($router) {
                $router->post('/', 'HoldHandsController@propAdd');   //添加心动场景道具
                $router->put('/', 'HoldHandsController@propEdit');   //编辑心动场景道具
                $router->get('/', 'HoldHandsController@propList');   //心动场景道具列表
                $router->delete('/', 'HoldHandsController@propDel'); //删除心动场景道具
            });
            //cp
            $router->group(['prefix' => 'cp/prop'], function ($router) {
                $router->post('/', 'CpController@propAdd');   //添加cp道具
                $router->put('/', 'CpController@propEdit');   //编辑cp道具
                $router->get('/', 'CpController@propList');   //cp道具列表
                $router->delete('/', 'CpController@propDel'); //删除cp道具
            });
            //抢帽子
            $router->group(['prefix' => 'laurel/prop'], function ($router) {
                $router->post('/', 'LaurelController@propAdd');   //添加抢帽子道具
                $router->put('/', 'LaurelController@propEdit');   //编辑抢帽子道具
                $router->get('/', 'LaurelController@propList');   //抢帽子道具列表
                $router->delete('/', 'LaurelController@propDel'); //删除抢帽子道具
            });
            //月下老人
            $router->group(['prefix' => 'cupid/prop'], function ($router) {
                $router->post('/', 'CupidController@propAdd');   //添加月下老人道具
                $router->put('/', 'CupidController@propEdit');   //编辑月下老人道具
                $router->get('/', 'CupidController@propList');   //月下老人道具列表
                $router->delete('/', 'CupidController@propDel'); //删除月下老人道具
            });
        });

        //人脉
        $router->group(['prefix' => 'connect', 'namespace' => 'Connect'], function ($router) {
            //奖池
            $router->group(['prefix' => 'prize-pool'], function ($router) {
                $router->post('/', 'PrizePoolController@add');   //添加人脉奖池
                $router->put('/', 'PrizePoolController@edit');   //编辑人脉奖池
                $router->delete('/', 'PrizePoolController@del'); //删除人脉奖池
                $router->get('/all', 'PrizePoolController@all'); //获取所有人脉奖池
                //奖池道具
                $router->group(['prefix' => 'prop'], function ($router) {
                    $router->post('/', 'PrizePooPropController@add');       //添加人脉奖池道具
                    $router->put('/', 'PrizePooPropController@edit');       //编辑人脉奖池道具
                    $router->put('/num', 'PrizePooPropController@editNum'); //编辑人脉奖池道具的数量
                    $router->delete('/', 'PrizePooPropController@del');     //删除人脉奖池道具
                    $router->get('/', 'PrizePooPropController@list');       //人脉奖池道具列表
                });
            });
            //礼物
            $router->group(['prefix' => 'gift'], function ($router) {
                $router->post('/', 'GiftController@add');                  //人脉礼物新增
                $router->get('/detail', 'GiftController@detail');          //获取人脉礼物详情
                $router->put('/', 'GiftController@edit');                  //人脉礼物编辑
                $router->get('/', 'GiftController@list');                  //人脉礼物列表
                $router->get('/give-record', 'GiftController@giveRecord'); //人脉礼物赠送记录
            });
        });

        //客服问题
        $router->group(['prefix' => 'customer-service/question', 'namespace' => 'CustomerService'], function ($router) {
            $router->get('/', 'QuestionController@list');             //客服问题列表
            $router->post('/', 'QuestionController@add');             //新增客服问题
            $router->post('/edit', 'QuestionController@edit');        //编辑客服问题
            $router->get('/detail', 'QuestionController@detail');     //获取客服问题详情
            $router->put('/status', 'QuestionController@editStatus'); //修改问题状态
            $router->delete('/', 'QuestionController@del');           //删除问题
        });

        //真心话大冒险
        $router->group(['prefix' => 'truth-dare'], function ($router) {
            $router->post('/', 'TruthDareController@add');   //新增真心话大冒险
            $router->put('/', 'TruthDareController@edit');   //编辑真心话大冒险
            $router->delete('/', 'TruthDareController@del'); //删除真心话大冒险
            $router->get('/', 'TruthDareController@list');   //真心话大冒险列表
        });

        //礼物
        $router->group(['prefix' => 'gift'], function ($router) {
            //礼物列表
            $router->post('/list', 'GiftController@giftList');
            //礼物边框相关
            $router->group(['prefix' => 'frame'], function ($router) {
                $router->get('/list', 'GiftFrameController@index');
                $router->post('/', 'GiftFrameController@add');
                $router->delete('/', 'GiftFrameController@delete');
                $router->post('/update', 'GiftFrameController@update');
                $router->get('/', 'GiftFrameController@show');
            });
        });
        $router->group(['prefix' => 'gift', 'namespace' => 'Gift'], function ($router) {
            $router->get('/all', 'GiftController@all');           //获取所有礼物
            $router->get('/detail', 'GiftController@detail');     //获取礼物详情
            $router->put('/status', 'GiftController@editStatus'); //修改状态
            $router->put('/set-top', 'GiftController@setTop');    //置顶
            $router->delete('/', 'GiftController@del');           //删除礼物
            $router->post('/give', 'GiftController@give');        //赠送礼物
            $router->get('/op-types', 'GiftController@opTypes');  //获取操作类型下拉框（根据操作类型分类）
            //定时任务
            $router->group(['prefix' => 'status-crontab'], function ($router) {
                $router->post('/', 'GiftController@addStatusCrontab');   //新增定时上下架任务
                $router->get('/', 'GiftController@statusCrontabList');   //定时上下架任务列表
                $router->delete('/', 'GiftController@delStatusCrontab'); //删除定时上下架任务
            });
            //普通礼物
            $router->group(['prefix' => 'general-gift'], function ($router) {
                $router->post('/', 'GiftController@add'); //添加普通礼物
                $router->put('/', 'GiftController@edit'); //编辑普通礼物
                $router->get('/', 'GiftController@list'); //普通礼物列表
            });
            //互动礼物
            $router->group(['prefix' => 'interaction-gift'], function ($router) {
                $router->post('/', 'GiftController@addInteraction'); //添加互动礼物
                $router->put('/', 'GiftController@editInteraction'); //编辑互动礼物
                $router->get('/', 'GiftController@interactionList'); //互动礼物列表
            });
            //魔法礼物
            $router->group(['prefix' => 'magic-gift'], function ($router) {
                $router->post('/', 'GiftController@addMagic'); //添加魔法礼物
                $router->put('/', 'GiftController@editMagic'); //编辑魔法礼物
                $router->get('/', 'GiftController@magicList'); //魔法礼物列表
            });
            //限定礼物（套装）
            $router->group(['prefix' => 'suit-gift'], function ($router) {
                $router->post('/', 'GiftController@addSuit'); //添加限定礼物
                $router->put('/', 'GiftController@editSuit'); //编辑限定礼物
                $router->get('/', 'GiftController@suitList'); //限定礼物列表
            });
            //标签
            $router->group(['prefix' => 'tag'], function ($router) {
                $router->post('/', 'TagController@add');   //新增礼物标签
                $router->put('/', 'TagController@edit');   //编辑礼物标签
                $router->delete('/', 'TagController@del'); //删除礼物标签
                $router->get('/', 'TagController@list');   //礼物标签列表
                $router->get('/all', 'TagController@all'); //获取所有礼物标签
            });
            //说明背景
            $router->group(['prefix' => 'desc-bg'], function ($router) {
                $router->post('/', 'DescBgController@add');   //新增礼物说明背景
                $router->put('/', 'DescBgController@edit');   //编辑礼物说明背景
                $router->delete('/', 'DescBgController@del'); //删除礼物说明背景
                $router->get('/', 'DescBgController@list');   //礼物说明背景列表
                $router->get('/all', 'DescBgController@all'); //获取所有礼物说明背景
            });
            //礼物分类
            $router->group(['prefix' => 'category'], function ($router) {
                $router->get('/all', 'CategoryController@all');                         //获取所有礼物分类
                $router->get('/sub-categories', 'CategoryController@getSubCategories'); //获取礼物子分类
                $router->post('/', 'CategoryController@add');                           //新增礼物分类
                $router->put('/', 'CategoryController@edit');                           //编辑礼物分类
                $router->delete('/', 'CategoryController@del');                         //删除礼物分类
            });
        });

        //数据看板
        $router->group(['prefix' => 'statistics', 'namespace' => 'Statistics'], function ($router) {
            //房间流水
            $router->group(['prefix' => 'room-serial'], function ($router) {
                $router->get('/total', 'StatisticsController@roomSerialTotal');       //房间流水统计
                $router->get('/', 'StatisticsController@roomSerialList');             //房间流水列表
                $router->get('/refresh', 'StatisticsController@refreshSystemSerial'); //刷新系统流水数据
                $router->get('/picture', 'StatisticsController@roomSerialListPicture'); //房间流水折线图
                $router->get('/recently-data', 'StatisticsController@recentlyData'); //房间流水最近数据
            });
            //商城流水
            $router->group(['prefix' => 'mall-serial'], function ($router) {
                $router->get('/total', 'StatisticsController@mallSerialTotal'); //商城流水统计
            });
            //用户相关
            $router->group(['prefix' => 'user'], function ($router) {
                $router->get('/hourly-count', 'StatisticsController@hourlyUserCount'); //用户登录注册数量统计
                $router->get('/count', 'StatisticsController@userCount');              //统计用户数量（登录、注册、充值）
                $router->get('/amount', 'StatisticsController@userAmount');            //统计用户金额
            });
            //游戏相关
            $router->group(['prefix' => 'game'], function ($router) {
                $router->get('/serial', 'StatisticsController@gameSerial');      //多业务流水统计，游戏流水
                $router->get('/user-data', 'StatisticsController@gameUserData'); //游戏用户数据
            });
            //流水
            $router->get('/serial-total', 'StatisticsController@serialTotal'); //流水统计，业务流占比
        });

        //用户标签相关
        $router->group(['prefix' => 'user', 'namespace' => 'UserLabel'], function ($router) {
            $router->group(['prefix' => 'label'], function ($router) {
                $router->get('/', 'UserLabelController@list');                           //获取用户声音标签类型
                $router->post('/', 'UserLabelController@add');                           //添加用户声音标签
                $router->put('/', 'UserLabelController@edit');                           //编辑用户声音标签
                $router->delete('/', 'UserLabelController@del');                         //删除用户声音标签
            });
            $router->group(['prefix' => 'label-questions'], function ($router) {
                $router->get('/', 'SoundLabelQuestionController@list');                           //获取用户声音标签类型问题
                $router->post('/', 'SoundLabelQuestionController@add');                           //添加用户声音标签问题
                $router->put('/', 'SoundLabelQuestionController@edit');                           //编辑用户声音标签问题
                $router->delete('/', 'SoundLabelQuestionController@del');                         //删除用户声音标签问题
            });
        });

        //暴击奖池
        $router->group(['prefix' => 'critical', 'namespace' => 'Critical'], function ($router) {
            //暴击规则
            $router->group(['prefix' => 'rule'], function ($router) {
                $router->put('/', 'CriticalTreeRuleController@set');    //设置暴击规则
                $router->delete('/', 'CriticalTreeRuleController@del');    //设置暴击规则
                $router->get('/', 'CriticalTreeRuleController@all');    //暴击规则列表
            });
            //暴击奖池 公池配置
            $router->group(['prefix' => 'gift'], function ($router) {
                $router->put('/', 'CriticalPrizeController@set');    //设置暴击礼物
                $router->delete('/', 'CriticalPrizeController@del');    //删除暴击礼物
                $router->get('/', 'CriticalPrizeController@all');    //暴击礼物列表
            });
            $router->put('/ratio', 'CriticalPoolConfigController@set');    //设置暴击比率
            $router->get('/ratio', 'CriticalPoolConfigController@getRatio');    //获取暴击比率
            $router->get('/pool/prize', 'CriticalPoolPrizeController@all');    //个人奖池暴击奖池详情
            $router->post('/num/set', 'CriticalPoolPrizeController@setCriticalNum');    //设置暴击数量
        });

        //用户充值金额配置
        $router->group(['prefix' => 'user/recharge-amount/config', 'namespace' => 'SystemSet'], function ($router) {
            //添加配置
            $router->post('/', 'RechargeConfigController@add');
            //编辑配置
            $router->put('/', 'RechargeConfigController@edit');
            //配置列表
            $router->get('/', 'RechargeConfigController@list');
            //删除配置
            $router->delete('/', 'RechargeConfigController@del');
            //配置自定义充值
            $router->post('/setCustomRecharge', 'RechargeConfigController@setCustomRecharge');
        });

        //推荐管理
        $router->group(['prefix' => 'recommend'], function ($router) {
            //房间推荐管理
            $router->group(['prefix' => 'room'], function ($router) {
                //房间推荐列表
                $router->get('/', 'RecommendController@roomList');
                //搜索房间
                $router->get('/search', 'RecommendController@roomSearch');
                //新增房间推荐
                $router->post('/add', 'RecommendController@roomAdd');
                //编辑房间推荐数据
                $router->get('/edit_detail', 'RecommendController@roomEditDetail');
                //编辑房间推荐
                $router->post('/edit', 'RecommendController@roomEdit');
                //删除房间推荐
                $router->post('/del', 'RecommendController@roomDel');
            });

            //主播推荐管理
            $router->group(['prefix' => 'user'], function ($router) {
                //主播推荐列表
                $router->get('/', 'RecommendController@userList');
                //搜索主播
                $router->get('/search', 'RecommendController@userSearch');
                //新增主播推荐
                $router->post('/add', 'RecommendController@userAdd');
                //编辑主播推荐数据
                $router->get('/edit_detail', 'RecommendController@userEditDetail');
                //编辑主播推荐
                $router->post('/edit', 'RecommendController@userEdit');
                //删除主播推荐
                $router->post('/del', 'RecommendController@userDel');
            });
        });

        //vip管理
        $router->group(['prefix' => 'vip'], function ($router) {
            //vip特权
            $router->group(['prefix' => 'privilege'], function ($router) {
                //vip特权列表
                $router->get('/', 'VipController@privilegeList');
                //新增特权
                $router->post('/add', 'VipController@privilegeAdd');
                //编辑特权数据
                $router->get('/edit_detail', 'VipController@privilegeEditDetail');
                //编辑特权
                $router->post('/edit', 'VipController@privilegeEdit');
            });
            //vip大等级
            $router->group(['prefix' => 'gradebig'], function ($router) {
                //vip大等级列表
                $router->get('/', 'VipController@gradeBigList');
                //新增vip大等级特权列表
                $router->get('/add/privilege', 'VipController@gradeBigPrivilegeList');
                //新增vip大等级
                $router->post('/add', 'VipController@gradeBigAdd');
                //编辑vip大等级数据
                $router->get('/edit_detail', 'VipController@gradeBigEditDetail');
                //编辑vip大等级
                $router->post('/edit', 'VipController@gradeBigEdit');
                //删除vip大等级
                $router->post('/del', 'VipController@gradeBigDel');
            });

            //vip等级
            $router->group(['prefix' => 'gradeconfig'], function ($router) {
                //获取等级列表
                $router->post('/rank/list', 'GradeConfigController@GradeConfigList');
                //添加等级礼包列表
                $router->post('/reward/list', 'GradeConfigController@rewardList');
                //等级添加
                $router->post('/rank/add', 'GradeConfigController@rankAdd');
                //等级修改
                $router->post('/rank/save', 'GradeConfigController@rankSave');
                //等级删除
                $router->post('/rank/del', 'GradeConfigController@rankdel');
                //等级详情
                $router->post('/rank/detail', 'GradeConfigController@detail');
            });

            //人气等级
            $router->group(['prefix' => 'popular'], function ($router) {
                //获取等级列表
                $router->get('/list', 'GradePopularController@GradePopularList');
                //等级添加
                $router->post('/add', 'GradePopularController@rankPopularAdd');
                //等级修改
                $router->put('/save', 'GradePopularController@rankPopularSave');
                //等级删除
                $router->delete('/del', 'GradePopularController@rankPopularDel');
                //等级详情
                $router->get('/detail', 'GradePopularController@rankPopularDetail');
            });
        });

        /**
         * 预警系统
         */
        $router->group(['prefix' => 'erm', 'namespace' => 'Erm'], function ($router) {
            //大众名单
            $router->group(['prefix' => 'public'], function ($router) {
                //大众名单列表
                $router->get('/list', 'PublicListController@list');
                //异步导出大众名单列表
                $router->get('/list/export/excel/async', 'PublicListController@exportAsync');
                //大众名单详情
                $router->get('/detail', 'PublicListController@detail');
                //最近5天充值记录
                $router->get('/detail/recharge/list', 'PublicListController@detailRechargeList');
                //最近5天消费记录
                $router->get('/detail/consumption/list', 'PublicListController@detailConsumptionList');
                //最近5天兑换记录
                $router->get('/detail/exchange/list', 'PublicListController@detailExchangeList');
                //加入白名单
                $router->post('/join/white', 'PublicListController@joinWhite');
                //加入灰名单
                $router->post('/join/gray', 'PublicListController@joinGray');
                //加入黑名单
                $router->post('/join/black', 'PublicListController@joinBlack');
                //名单记录明细
                $router->get('/join/record', 'PublicListController@record');
            });
            //白名单
            $router->group(['prefix' => 'white'], function ($router) {
                //白名单列表
                $router->get('/list', 'WhiteListController@list');
                //导出白名单列表
                $router->get('/list/export/excel', 'WhiteListController@export');
                //添加人列表
                $router->get('/operator/list', 'WhiteListController@operatorList');
                //白名单详情
                $router->get('/detail', 'WhiteListController@detail');
                //最近5天充值记录
                $router->get('/detail/recharge/list', 'WhiteListController@detailRechargeList');
                //最近5天消费记录
                $router->get('/detail/consumption/list', 'WhiteListController@detailConsumptionList');
                //最近5天兑换记录
                $router->get('/detail/exchange/list', 'WhiteListController@detailExchangeList');
                //移出白名单
                $router->post('/remove/white', 'WhiteListController@removeWhite');
                //加入灰名单
                $router->post('/join/gray', 'WhiteListController@joinGray');
                //加入黑名单
                $router->post('/join/black', 'WhiteListController@joinBlack');
                //加入白名单
                $router->post('/join', 'WhiteListController@join');
                //移出白名单记录
                $router->get('/list/remove-log', 'WhiteListController@removeWhiteListLog');
            });
            //灰名单
            $router->group(['prefix' => 'gray'], function ($router) {
                //灰名单列表
                $router->get('/list', 'GrayListController@list');
                //导出灰名单列表
                $router->get('/list/export/excel', 'GrayListController@export');
                //灰名单详情
                $router->get('/detail', 'GrayListController@detail');
                //最近5天充值记录
                $router->get('/detail/recharge/list', 'GrayListController@detailRechargeList');
                //最近5天消费记录
                $router->get('/detail/consumption/list', 'GrayListController@detailConsumptionList');
                //最近5天兑换记录
                $router->get('/detail/exchange/list', 'GrayListController@detailExchangeList');
                //加入黑名单
                $router->post('/join/black', 'GrayListController@joinBlack');
                //移出灰名单
                $router->post('/list/remove', 'GrayListController@removeGrayList');
                //移出灰名单记录
                $router->get('/list/remove-log', 'GrayListController@removeGrayListLog');
                //加灰原因
                $router->get('/reason/list', 'GrayListController@reasonList');
            });
            //黑名单
            $router->group(['prefix' => 'black'], function ($router) {
                //黑名单列表
                $router->get('/list', 'BlackListController@list');
                //导出黑名单列表
                $router->get('/list/export/excel', 'BlackListController@export');
                //黑名单详情
                $router->get('/detail', 'BlackListController@detail');
                //最近5天充值记录
                $router->get('/detail/recharge/list', 'BlackListController@detailRechargeList');
                //最近5天消费记录
                $router->get('/detail/consumption/list', 'BlackListController@detailConsumptionList');
                //最近5天兑换记录
                $router->get('/detail/exchange/list', 'BlackListController@detailExchangeList');
                //加黑原因
                $router->get('/reason/list', 'BlackListController@reasonList');
            });
            //预警系统首页
            $router->group(['prefix' => 'index'], function ($router) {
                $router->get('/', 'IndexController@index');
            });


            //黑名单移出记录
            $router->group(['prefix' => 'black_record'], function ($router) {
                //黑名单移出记录
                $router->get('/list', 'BlackRemoveController@list');
                //导出黑名单移出记录
                $router->get('/export', 'BlackRemoveController@export');
                //移出黑名单
                $router->post('/remove', 'BlackRemoveController@remove');
            });
            //系统配置
            $router->group(['prefix' => 'config'], function ($router) {
                $router->get('/list', 'ConfigController@list');
                $router->get('/detail', 'ConfigController@detail');
                $router->post('/edit', 'ConfigController@edit');
            });
            //预警设备监控
            $router->group(['prefix' => 'risk-device'], function ($router) {
                $router->get('/list', 'RiskDeviceController@list');
                $router->get('/risk-type', 'RiskDeviceController@getRiskType');
                $router->get('/white/list', 'RiskDeviceController@getWhiteList');
                $router->post('/white/add', 'RiskDeviceController@addWhiteList');
                $router->post('/white/remove', 'RiskDeviceController@removeWhiteList');
            });
        });

        //暴击奖池
        $router->group(['prefix' => 'critical', 'namespace' => 'Critical'], function ($router) {
            //暴击规则
            $router->group(['prefix' => 'rule'], function ($router) {
                $router->put('/', 'CriticalTreeRuleController@set');       //设置暴击规则
                $router->delete('/', 'CriticalTreeRuleController@del');    //设置暴击规则
                $router->get('/', 'CriticalTreeRuleController@all');       //暴击规则列表
            });

            //暴击奖池 公池配置
            $router->group(['prefix' => 'gift'], function ($router) {
                $router->put('/', 'CriticalPrizeController@set');       //设置暴击礼物
                $router->delete('/', 'CriticalPrizeController@del');    //删除暴击礼物
                $router->get('/', 'CriticalPrizeController@all');       //暴击礼物列表
            });
            $router->put('/ratio', 'CriticalPoolConfigController@set');                 //设置暴击比率
            $router->get('/ratio', 'CriticalPoolConfigController@getRatio');            //获取暴击比率
            $router->get('/pool/prize', 'CriticalPoolPrizeController@all');             //个人奖池暴击奖池详情
            $router->post('/num/set', 'CriticalPoolPrizeController@setCriticalNum');    //设置暴击数量

        });

        //排行榜、榜单
        $router->group(['prefix' => 'ranking-list', 'namespace' => 'RankingList'], function ($router) {
            //财富和魅力榜
            $router->get('/rich-charm', 'RankingController@richAndCharmList');
        });

        //私聊红包
        $router->group(['prefix' => 'private-red-packet', 'namespace' => 'RedPacket'], function ($router) {
            $router->post('/user', 'PrivateRedPacketController@addUser'); //增加白名单用户
            $router->put('/remove-user', 'PrivateRedPacketController@removeUser'); //移除白名单用户
            $router->get('/user', 'PrivateRedPacketController@userList'); //白名单用户列表
            $router->get('/records', 'PrivateRedPacketController@records'); //用户发红包记录
            $router->get('/records/export', 'PrivateRedPacketController@recordsExport'); //用户发红包记录导出
        });

        // 超级用户权限管理
        $router->group(['prefix' => 'super/user'], function ($router) {
            $router->get('/', 'SuperUserController@getSuperUser');                //超级用户列表
            $router->get('/find-super', 'SuperUserController@findSuperUser');     //普通用户里找 官方账号
            $router->post('/', 'SuperUserController@setSuperUser');               //修改官方账号
            $router->delete('/', 'SuperUserController@delSuperUser');             //删除官方账号
        });

        //战令系统
        $router->group(['namespace' => 'WarOrder', 'prefix' => 'war/order'], function ($router) {
            $router->get('season', 'WarOrderController@season');                    //赛季列表
            $router->get('season/reward', 'WarOrderController@rewardList');         //赛季奖励列表
            $router->post('season', 'WarOrderController@addSeason');                //添加修改赛季
            $router->get('season/detail', 'WarOrderController@seasonDetail');       //赛季详情(战令列表)
            $router->post('/', 'WarOrderController@addWarOrder');                   //添加修改战令
            $router->post('/import', 'WarOrderController@importWarOrder');          //批量导入上期战令
            $router->post('season/recommend', 'WarOrderController@updateRecommend'); //设置赛季宣传奖励
            $router->get('upgrade', 'WarOrderController@upgradeList');              //用户战令升级记录
            $router->get('order', 'WarOrderController@order');                      //进阶购买记录
            $router->delete('season', 'WarOrderController@deleteSeason');           //删除赛季
            $router->delete('/', 'WarOrderController@deleteWarOrder');              //删除战令
        });

        //拍卖房
        $router->group(['prefix' => 'auction'], function ($router) {
            $router->get('content', 'AuctionController@content');         //拍卖内容列表
            $router->post('content', 'AuctionController@updateContent');  //添加修改拍卖内容
            $router->delete('content', 'AuctionController@deleteContent'); //删除拍卖内容
            $router->get('gift', 'AuctionController@gift');               //拍卖礼物列表
            $router->post('gift', 'AuctionController@updateGift');        //添加修改拍卖礼物
            $router->delete('gift', 'AuctionController@deleteGift');      //删除拍卖礼物
            $router->get('time', 'AuctionController@time');               //拍卖时间列表
            $router->post('time', 'AuctionController@updatetime');        //添加修改拍卖时间
            $router->delete('time', 'AuctionController@deletetime');      //删除拍卖时间
            $router->get('record', 'AuctionController@record');           //竞拍记录列表
            $router->get('result', 'AuctionController@result');           //竞拍记录列表
            $router->get('log', 'AuctionController@auctionLog');           //竞拍记录详情
        });

        //题库
        $router->group(['prefix' => 'question'], function ($router) {
            $router->get('/', 'QuestionController@index');    //列表
            $router->get('/', 'QuestionController@show'); //详情
            $router->post('/', 'QuestionController@update');  //添加修改
            $router->delete('/', 'QuestionController@delete'); //删除
        });

        $router->group(['prefix' => 'lucky/tree', 'namespace' => 'LuckyTree'], function ($router) {
            $router->get('/', 'LuckyTreeController@index');
            $router->post('/', 'LuckyTreeController@update');
            $router->post('all', 'LuckyTreeController@editAll');
            $router->delete('/', 'LuckyTreeController@delete');
            $router->get('record', 'LuckyTreeController@record');
            $router->post('replace', 'LuckyTreeController@replace');
            $router->get('special', 'LuckyTreeController@special');
            $router->post('ratio', 'LuckyTreeController@updateRatio');
            $router->get('user/ratio', 'LuckyTreeController@userRatio');
            $router->post('user/ratio', 'LuckyTreeController@updateUserRatio');
            $router->get('independent', 'LuckyTreeController@independent');
            $router->post('independent', 'LuckyTreeController@updateIndependent');
            $router->delete('independent', 'LuckyTreeController@deleteIndependent');
        });

        $router->group(['prefix' => 'happy', 'namespace' => 'Happy'], function ($router) {
            $router->get('/', 'HappyController@index'); // 奖池列表 本期/下期
            $router->post('/', 'HappyController@update'); // 编辑奖池 本期/下期
            $router->post('all', 'HappyController@editAll'); // 批量编辑奖池 本期/下期
            $router->delete('/', 'HappyController@delete'); // 删除奖池 本期/下期
            $router->get('record', 'HappyController@record'); // 中奖记录 本期/下期
            $router->post('replace', 'HappyController@replace'); // 替换奖池
            $router->post('type/open', 'HappyController@typeOpen'); // 奖池类型开关
            $router->get('supply', 'HappyController@supply'); // 补池管理
            $router->post('supply/ratio', 'HappyController@updateSupplyRatio'); // 修改配置
            $router->get('type', 'HappyController@typeList'); // 奖池类型管理
            $router->post('type', 'HappyController@typeAdd'); // 添加奖池类型
            $router->put('type', 'HappyController@typeEdit'); // 编辑奖池类型
            $router->delete('type', 'HappyController@typeDestory'); // 删除奖池类型
            $router->get('user/ratio', 'HappyController@userRatio'); // 用户产出比列表
            $router->post('user/ratio', 'HappyController@updateUserRatio'); // 修改用户产出比

            $router->get('data/all', 'HappyController@allData'); //统计数据-总数据
            $router->get('data/users', 'HappyController@usersList'); //统计数据-列表盈利/亏损
            $router->get('data/export', 'HappyController@export'); //统计数据-导出

            $router->get('independent', 'HappyController@independent'); // 节奏用户列表
            $router->post('independent', 'HappyController@updateIndependent'); // 添加节奏用户本期奖池
            $router->delete('independent', 'HappyController@deleteIndependent'); // 删除节奏用户本期奖池
            $router->get('user/independent', 'HappyController@userIndependent'); // 节奏用户本期奖池
        });

        $router->group(['prefix' => 'personal'], function ($router) {
            $router->get('pool', 'PersonalController@pool');
            $router->post('pool', 'PersonalController@updatePool');
            $router->post('all', 'PersonalController@editAll');
            $router->delete('pool', 'PersonalController@deletePool');
            $router->get('user', 'PersonalController@user');
            $router->post('user', 'PersonalController@updateUser');
            $router->delete('user', 'PersonalController@deleteUser');
            $router->post('set', 'PersonalController@set');
            $router->get('user/pool', 'PersonalPoolUserDetailController@detail');
            $router->post('user/pool', 'PersonalPoolUserDetailController@giftAdd');
            $router->put('user/pool', 'PersonalPoolUserDetailController@giftEdit');
            $router->delete('user/pool', 'PersonalPoolUserDetailController@giftDel');
        });

        $router->group(['prefix' => 'room/contribution/config'], function ($router) {
            $router->get('/', 'RoomContributionConfigController@list');
            $router->post('/', 'RoomContributionConfigController@add');
            $router->post('/update', 'RoomContributionConfigController@update');
            $router->delete('/', 'RoomContributionConfigController@delete');
            $router->get('/detail', 'RoomContributionConfigController@detail');
        });

        // 抢糖果活动配置
        $router->group(['prefix' => 'sugar/activity', 'namespace' => 'Activity'], function ($router) {
            $router->get('/', 'SugarActivityController@list');
            $router->post('/', 'SugarActivityController@addSugar');
            $router->post('/update', 'SugarActivityController@update');
            $router->delete('/', 'SugarActivityController@delete');
            $router->get('/get_exchange_log', 'SugarActivityController@get_exchange_log');
        });

        //渠道相关
        $router->group(['namespace' => 'Channel'], function ($router) {

            //渠道
            $router->group(['prefix' => 'channel'], function ($router) {
                $router->post('/', 'ChannelController@add'); //新增渠道
                $router->put('/', 'ChannelController@edit'); //编辑渠道
                $router->delete('/', 'ChannelController@del'); //删除渠道
                $router->get('/', 'ChannelController@list'); //渠道列表
                $router->get('/export', 'ChannelController@listExport'); //渠道列表导出
                $router->get('/user', 'ChannelController@userList'); //渠道用户列表
                $router->get('/user/export', 'ChannelController@userListExport'); //渠道用户列表导出

                //渠道分期
                $router->group(['prefix' => 'stage'], function ($router) {
                    $router->post('/', 'ChannelStageController@add'); //新增渠道分期
                    $router->put('/', 'ChannelStageController@edit'); //编辑渠道分期
                    $router->get('/', 'ChannelStageController@list'); //渠道分期列表
                    $router->get('/detail', 'ChannelStageController@detail'); //获取渠道分期详情
                    $router->get('/user', 'ChannelStageController@userList'); //渠道分期用户列表
                    $router->get('/user/export', 'ChannelStageController@userListExport'); //渠道分期用户列表导出
                    $router->get('/user/recharge', 'ChannelStageController@userRechargeList'); //渠道分期用户详情（充值列表）
                    $router->get('/list-by-channelid', 'ChannelStageController@listByChannelId'); //渠道分期列表（通过渠道id）
                });
            });

            //渠道数据统计
            $router->group(['prefix' => 'statistics/platform'], function ($router) {
                $router->get('/summary', 'PlatformDataController@summary'); //平台汇总数据
                $router->get('/day-summary', 'PlatformDataController@daySummaryList'); //平台日汇总列表
                $router->get('/day-summary/export', 'PlatformDataController@daySummaryExport'); //平台日汇总导出
                $router->get('/day-detail', 'PlatformDataController@dayDetailList'); //平台日详情列表
                $router->get('/day-detail/export', 'PlatformDataController@dayDetailExport'); //平台日详情导出
            });
        });

        //好友邀请好友值
        $router->group(['prefix' => 'shareprize'], function ($router) {
            $router->post('/period/create', 'Shareprize\PeriodController@create'); //创建期数
            $router->post('/period/edit', 'Shareprize\PeriodController@edit'); ///编辑期数
            $router->get('/period/list', 'Shareprize\PeriodController@list'); //期数列表
            $router->post('/period/delete', 'Shareprize\PeriodController@delete'); //删除期数
            $router->post('/prizeconfig/create', 'Shareprize\PrizeConfigController@create'); //创建奖品配置
            $router->post('/prizeconfig/edit', 'Shareprize\PrizeConfigController@edit'); ///编辑奖品配置
            $router->get('/prizeconfig/list', 'Shareprize\PrizeConfigController@list'); //奖品配置列表
            $router->post('/prizeconfig/delete', 'Shareprize\PrizeConfigController@delete'); //删除奖品配置
            $router->get('/prizeconfig/cate', 'Shareprize\PrizeConfigController@cate'); //商品分类
            $router->post('/prizeconfig/importperiod', 'Shareprize\PrizeConfigController@importPeriod'); //商品分类
            $router->get('/prize/prizerecord', 'Shareprize\PrizeController@prizeRecord'); //中奖记录
            $router->get('/prize/friendvaluerecord', 'Shareprize\PrizeController@friendvalueRecord'); //好友值记录
            $router->get('/prize/sharerecord', 'Shareprize\PrizeController@shareRecord'); //邀请记录
        });

        //跨房间pk及黑名单管理
        $router->group(['prefix' => 'cross_room_pk'], function ($router) {
            $router->get('/list', 'CrossRoomPkController@crossRoomPkList');
            $router->get('/info', 'CrossRoomPkController@info');

            $router->group(['prefix' => 'black'], function ($router) {
                $router->get('/list', 'CrossRoomPkBlackController@blackList');
                $router->get('/info', 'CrossRoomPkBlackController@info');
                $router->post('/create', 'CrossRoomPkBlackController@create');
                $router->post('/delete', 'CrossRoomPkBlackController@delete');
            });
        });

        $router->group(['prefix' => 'corporate_account'], function ($router) {
            //对公账户
            $router->get('/list', 'CorporateAccountController@list'); //列表
            $router->post('/create', 'CorporateAccountController@create'); //创建
            $router->get('/info', 'CorporateAccountController@info'); //详情
            $router->post('/update', 'CorporateAccountController@update'); //更新
            $router->post('/delete', 'CorporateAccountController@delete'); //更新
            $router->get('/userInfo', 'CorporateAccountController@userInfo'); //获取用户昵称
        });

        $router->group(['prefix' => 'bank_card'], function ($router) {
            //银行卡
            $router->get('/list', 'BankCardController@list'); //列表
            $router->post('/create', 'BankCardController@create'); //创建
            $router->get('/info', 'BankCardController@info'); //详情
            $router->post('/update', 'BankCardController@update'); //更新
            $router->post('/delete', 'BankCardController@delete'); //删除
        });

        //二级开屏页
        $router->group(['prefix' => 'open_banner'], function ($router) {
            $router->get('/list', 'OpenBannerController@list'); //列表
            $router->post('/create', 'OpenBannerController@create'); //创建
            $router->get('/info', 'OpenBannerController@info'); //详情
            $router->post('/update', 'OpenBannerController@update'); //更新
            $router->post('/delete', 'OpenBannerController@delete'); //删除
        });
        //个人信息管理-性别管理
        /*$router->group(['prefix' => 'sex'], function ($router) {
            $router->get('/list', 'SexController@list'); //列表
            $router->post('/create', 'SexController@create'); //创建
            $router->get('/info', 'SexController@info'); //详情
            $router->post('/update', 'SexController@update'); //更新
            $router->post('/delete', 'SexController@delete'); //删除
            $router->post('/update/status', 'SexController@updateStatus'); //更新状态
        });*/
        //个人信息管理-恋爱类型管理
        $router->group(['prefix' => 'love'], function ($router) {
            $router->get('/list', 'LoveController@list'); //列表
            $router->post('/create', 'LoveController@create'); //创建
            $router->get('/info', 'LoveController@info'); //详情
            $router->post('/update', 'LoveController@update'); //更新
            $router->post('/delete', 'LoveController@delete'); //删除
            $router->post('/update/status', 'LoveController@updateStatus'); //更新状态
        });
        //家族系统
        $router->group(['prefix' => 'family', 'namespace' => 'Family'], function ($router) {
            $router->get('/list', 'FamilyController@list'); //列表
            $router->post('/create', 'FamilyController@create'); //创建
            $router->get('/info', 'FamilyController@info'); //详情
            $router->post('/update', 'FamilyController@update'); //更新
            $router->get('/classify', 'FamilyController@classify'); //家族家族规模
            $router->get('/user/info', 'FamilyController@userInfo'); //根据用户code获取用户详情
            $router->post('/delete', 'FamilyController@delete'); //解散家族
            $router->get('/check/id_number', 'FamilyController@checkIdNumber');//是否有查看身份证权限
            $router->get('/redpacket/list','FamilyController@redPacketList');   //红包召集列表
            $router->get('/redpacket/info','FamilyController@redPacketInfo');   //红包召集列表
        });

        //飞屋环球记
        $router->group(['prefix' => 'flying', 'namespace' => 'Flying'], function ($router) {
            $router->get('/', 'FlyingController@index');                //本期奖池(下期)
            $router->get('/next', 'FlyingController@next');             //下期奖池
            $router->post('/', 'FlyingController@update');              //添加修改本期奖池礼物
            $router->post('/next', 'FlyingController@updateNext');      //添加修改下期奖池礼物
            $router->post('all', 'FlyingController@editAll');           //一键修改本期奖池礼物
            $router->delete('/', 'FlyingController@delete');            //删除本期奖池礼物
            $router->get('record', 'FlyingController@record');          //中奖纪录
            $router->post('replace', 'FlyingController@replace');       //替换奖池
            $router->post('ratio', 'FlyingController@updateRatio');     //更新产出比
            $router->get('user/ratio', 'FlyingController@userRatio');   //用户产出比列表
            $router->post('user/ratio', 'FlyingController@updateUserRatio');    //用户投入产出比配置修改
            $router->get('data/all', 'FlyingController@allData'); //统计数据-总数据
            $router->get('data/users', 'FlyingController@usersList'); //统计数据-列表盈利/亏损
            $router->get('data/export', 'FlyingController@export'); //统计数据-导出
            $router->get('next/config', 'FlyingController@nextConfig'); //下期奖池配置列表
            $router->post('next/config/add', 'FlyingController@nextConfigAdd'); //下期奖池配置添加
            $router->post('next/config/edit', 'FlyingController@nextConfigEdit'); //下期奖池配置编辑
            $router->post('next/config/del', 'FlyingController@nextConfigDel'); //下期奖池配置删除
            $router->post('next/config/open', 'FlyingController@nextConfigOpen'); //下期奖池配置开关
            $router->post('next/config/type', 'FlyingController@nextConfigType'); //下期奖池配置类型
            //补池设置
            $router->get('supplement/config', 'FlyingController@supplementConfigInfo'); //补池设置配置
            $router->post('supplement/config/update', 'FlyingController@supplementConfigUpdate'); //更新补池设置配置
            $router->get('supplement/list', 'FlyingController@supplementGiftList'); //补池礼物列表
            $router->get('supplement/gift', 'FlyingController@nextCommonGifts'); //补池筛选礼物列表
            $router->post('supplement/gift/update', 'FlyingController@supplementGiftUpdate'); //补池礼物新增或者更新
            $router->post('supplement/gift/del', 'FlyingController@supplementGiftDel'); //补池礼物删除
            //暴击概率设置
            $router->get('critical/config', 'FlyingController@criticalConfig'); //暴击概率配置
            $router->post('critical/config/save', 'FlyingController@criticalConfigSave'); //暴击概率保存
        });

    });
});
